diff frontends/src/primitivus/chat.py @ 2015:20fb71b656e3

quick_frontend, primitivus (contact_list): improved and simplified handling of "special" entities: - special_extras has been removed - specials handle all entities (bare + full) in a single set
author Goffi <goffi@goffi.org>
date Sun, 24 Jul 2016 17:47:09 +0200
parents b536dd121da1
children 7199e6bdb94e
line wrap: on
line diff
--- a/frontends/src/primitivus/chat.py	Tue Jul 19 21:25:22 2016 +0200
+++ b/frontends/src/primitivus/chat.py	Sun Jul 24 17:47:09 2016 +0200
@@ -553,7 +553,7 @@
         super(Chat, self)._onHistoryPrinted()
 
     def onPrivateCreated(self, widget):
-        self.host.contact_lists[widget.profile].specialResourceVisible(widget.target)
+        self.host.contact_lists[widget.profile].setSpecial(widget.target, C.CONTACT_SPECIAL_GROUP)
 
     def onSelected(self):
         self.focus_marker_set = False