# HG changeset patch # User souliane # Date 1387356902 -3600 # Node ID 318acc83a3922f6b333070852a9e8f9c0ca5bcda # Parent 6c36149524ed876741ce090c793cb027b959b743 quick_frontend: fix presence/status update (do not share between different resources) diff -r 6c36149524ed -r 318acc83a392 frontends/src/quick_frontend/quick_app.py --- a/frontends/src/quick_frontend/quick_app.py Wed Dec 18 07:44:35 2013 +0100 +++ b/frontends/src/quick_frontend/quick_app.py Wed Dec 18 09:55:02 2013 +0100 @@ -304,9 +304,8 @@ debug(_("presence update for %(jid)s (show=%(show)s, priority=%(priority)s, statuses=%(statuses)s) [profile:%(profile)s]") % {'jid': jabber_id, 'show': show, 'priority': priority, 'statuses': statuses, 'profile': profile}) from_jid = JID(jabber_id) - debug("from_jid.bare=%(from_jid)s whoami.bare=%(whoami)s" % {'from_jid': from_jid.bare, 'whoami': self.profiles[profile]['whoami'].bare}) - if from_jid.bare == self.profiles[profile]['whoami'].bare: + if from_jid == self.profiles[profile]['whoami']: if show == "unavailable": self.setStatusOnline(False) else: