diff src/core/xmpp.py @ 1315:be3a301540c0 frontends_multi_profiles

core (memory): updateEntityData now accept a "silent" argument to avoid sending signal to frontends when updating an attribute with "signalOnUpdate" flag.
author Goffi <goffi@goffi.org>
date Mon, 09 Feb 2015 21:39:51 +0100
parents ba73798317a7
children f71a0fc26886
line wrap: on
line diff
--- a/src/core/xmpp.py	Mon Feb 09 21:39:51 2015 +0100
+++ b/src/core/xmpp.py	Mon Feb 09 21:39:51 2015 +0100
@@ -319,10 +319,6 @@
                                            int(priority), statuses,
                                            self.parent.profile)
 
-        # uncomment these two lines if you need the trigger
-        #if not self.host.trigger.point("presenceReceived", entity, "unavailable", 0, statuses, self.parent.profile):
-        #    return
-
         # now it's time to notify frontends
         self.host.bridge.presenceUpdate(entity.full(), show or "",
                                         int(priority), statuses,