diff frontends/src/bridge/DBus.py @ 917:a9401694d2dc

bridge, frontends: display presence with the highest priority + reset your own presence when you (dis)connect
author souliane <souliane@mailoo.org>
date Thu, 20 Mar 2014 21:18:18 +0100
parents 308a96bc7c1b
children 71926ec2114d
line wrap: on
line diff
--- a/frontends/src/bridge/DBus.py	Fri Mar 21 16:27:09 2014 +0100
+++ b/frontends/src/bridge/DBus.py	Thu Mar 20 21:18:18 2014 +0100
@@ -200,8 +200,8 @@
     def setParam(self, name, value, category, security_limit=-1, profile_key="@DEFAULT@"):
         return self.db_core_iface.setParam(name, value, category, security_limit, profile_key)
 
-    def setPresence(self, to_jid='', show='', priority=0, statuses={}, profile_key="@DEFAULT@"):
-        return self.db_core_iface.setPresence(to_jid, show, priority, statuses, profile_key)
+    def setPresence(self, to_jid='', show='', statuses={}, profile_key="@DEFAULT@"):
+        return self.db_core_iface.setPresence(to_jid, show, statuses, profile_key)
 
     def subscription(self, sub_type, entity, profile_key="@DEFAULT@"):
         return self.db_core_iface.subscription(sub_type, entity, profile_key)