diff src/core/xmpp.py @ 933:955e5c781a40

core: presence stanzas were sent twice
author souliane <souliane@mailoo.org>
date Mon, 24 Mar 2014 10:16:07 +0100
parents e77948faaef3
children 34dd9287dfe5
line wrap: on
line diff
--- a/src/core/xmpp.py	Sun Mar 23 22:34:24 2014 +0100
+++ b/src/core/xmpp.py	Mon Mar 24 10:16:07 2014 +0100
@@ -340,7 +340,6 @@
         if 'default' in statuses:
             statuses[None] = statuses['default']
 
-        xmppim.PresenceClientProtocol.available(self, entity, show, statuses, priority)
         presence_elt = xmppim.AvailablePresence(entity, show, statuses, priority)
         if not self.host.trigger.point("presence_available", presence_elt, self.parent):
             return