diff 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/src/bridge/DBus.py	Fri Mar 21 16:27:09 2014 +0100
+++ b/src/bridge/DBus.py	Thu Mar 20 21:18:18 2014 +0100
@@ -396,10 +396,10 @@
         return self._callback("setParam", unicode(name), unicode(value), unicode(category), security_limit, unicode(profile_key))
 
     @dbus.service.method(const_INT_PREFIX+const_CORE_SUFFIX,
-                         in_signature='ssia{ss}s', out_signature='',
+                         in_signature='ssa{ss}s', out_signature='',
                          async_callbacks=None)
-    def setPresence(self, to_jid='', show='', priority=0, statuses={}, profile_key="@DEFAULT@"):
-        return self._callback("setPresence", unicode(to_jid), unicode(show), priority, statuses, unicode(profile_key))
+    def setPresence(self, to_jid='', show='', statuses={}, profile_key="@DEFAULT@"):
+        return self._callback("setPresence", unicode(to_jid), unicode(show), statuses, unicode(profile_key))
 
     @dbus.service.method(const_INT_PREFIX+const_CORE_SUFFIX,
                          in_signature='sss', out_signature='',