summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-06-14 22:20:04 +0200
committerFlorent Le Coz <louiz@louiz.org>2011-06-14 22:20:04 +0200
commit40d445e509dd5643150869862d608562ff5a01c0 (patch)
treea54b9311abadcaaa27449d8e30802e180d8a7cf6
parent7d82a4fb19f8c180073c4313b2c5a9c8ec31b253 (diff)
downloadpoezio-40d445e509dd5643150869862d608562ff5a01c0.tar.gz
poezio-40d445e509dd5643150869862d608562ff5a01c0.tar.bz2
poezio-40d445e509dd5643150869862d608562ff5a01c0.tar.xz
poezio-40d445e509dd5643150869862d608562ff5a01c0.zip
I add a char to show the active and paused chatstates in muc user lists
-rw-r--r--src/windows.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/windows.py b/src/windows.py
index eb6dde43..1d54f7ed 100644
--- a/src/windows.py
+++ b/src/windows.py
@@ -196,6 +196,10 @@ class UserList(Win):
show_col = self.color_show[user.show]
if user.chatstate == 'composing':
char = 'X'
+ elif user.chatstate == 'active':
+ char = 'A'
+ elif user.chatstate == 'paused':
+ char = 'p'
else:
char = theme.CHAR_STATUS
self.addstr(y, 0, char, common.curses_color_pair(show_col))