diff frontends/src/constants.py @ 907:cd02f5ef30df

primitivus: display chat states (with symbols) for MUC participants
author souliane <souliane@mailoo.org>
date Mon, 17 Mar 2014 13:24:55 +0100
parents 485975c1e0ca
children 1a3ba959f0ab
line wrap: on
line diff
--- a/frontends/src/constants.py	Sun Mar 16 21:25:49 2014 +0100
+++ b/frontends/src/constants.py	Mon Mar 17 13:24:55 2014 +0100
@@ -62,6 +62,16 @@
 
     NO_SECURITY_LIMIT = -1
 
-    #XMLUI
+    # XMLUI
     SAT_FORM_PREFIX = "SAT_FORM_"
-    SAT_PARAM_SEPARATOR = "_XMLUI_PARAM_" # used to have unique elements names
+    SAT_PARAM_SEPARATOR = "_XMLUI_PARAM_"  # used to have unique elements names
+
+    # MUC
+    ALL_OCCUPANTS = 1
+    MUC_USER_STATES = {
+        "active": u'✔',
+        "inactive": u'☄',
+        "gone": u'✈',
+        "composing": u'✎',
+        "paused": u"⦷"
+    }