diff frontends/src/primitivus/primitivus @ 1058:0a9986452bba

frontends: fixes bug with private message introduced with revision 1000 (6f1e03068b5f) + display messages from contacts not in roster
author souliane <souliane@mailoo.org>
date Thu, 29 May 2014 14:34:01 +0200
parents 5197600a1e13
children b2b9c184033f
line wrap: on
line diff
--- a/frontends/src/primitivus/primitivus	Sun Jun 08 17:39:21 2014 +0200
+++ b/frontends/src/primitivus/primitivus	Thu May 29 14:34:01 2014 +0200
@@ -388,7 +388,7 @@
         if not from_jid in self.contact_list and from_jid.bare != self.profiles[profile]['whoami'].bare:
             #XXX: needed to show entities which haven't sent any
             #     presence information and which are not in roster
-            self.contact_list.replace(from_jid, ['Not in roster'])
+            self.contact_list.replace(from_jid, [C.GROUP_NOT_IN_ROSTER])
 
         if JID(self.contact_list.selected).bare != from_jid.bare:
             self.contact_list.putAlert(from_jid)