diff frontends/src/quick_frontend/quick_app.py @ 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 066308706dc6
children aa15453ec54d
line wrap: on
line diff
--- a/frontends/src/quick_frontend/quick_app.py	Sun Jun 08 17:39:21 2014 +0200
+++ b/frontends/src/quick_frontend/quick_app.py	Thu May 29 14:34:01 2014 +0200
@@ -269,7 +269,7 @@
             else:
                 from_jid = new_jid
             if new_jid not in self.contact_list:
-                self.contact_list.add(new_jid)
+                self.contact_list.add(new_jid, [C.GROUP_NOT_IN_ROSTER])
 
         self.newMessage(from_jid, to_jid, msg, _type, extra, profile)