diff frontends/src/quick_frontend/quick_app.py @ 1329:f8bd40509a2d frontends_multi_profiles

quick_frontend: add a 'presence' listener for the 'presenceUpdate' signal
author souliane <souliane@mailoo.org>
date Sun, 22 Feb 2015 15:11:29 +0100
parents 88e40f31b17e
children 7fa07c7b0761
line wrap: on
line diff
--- a/frontends/src/quick_frontend/quick_app.py	Sat Feb 21 12:39:04 2015 +0100
+++ b/frontends/src/quick_frontend/quick_app.py	Sun Feb 22 15:11:29 2015 +0100
@@ -463,6 +463,7 @@
         #     self.showAlert(_("Watched jid [%s] is connected !") % entity.bare)
 
         self.contact_lists[profile].updatePresence(entity, show, priority, statuses)
+        self.callListeners('presence', entity, show, priority, statuses, profile)
 
     def roomJoinedHandler(self, room_jid_s, room_nicks, user_nick, profile):
         """Called when a MUC room is joined"""