Show which buddy properties were updated

This commit is contained in:
Dan Williams 2007-04-16 22:42:35 -04:00
parent 4449b4e237
commit d45e6dd1a6

View File

@ -144,11 +144,11 @@ class PresenceService(dbus.service.Object):
logging.debug("Buddy %s icon updated" % buddy.props.nick) logging.debug("Buddy %s icon updated" % buddy.props.nick)
buddy.props.icon = avatar buddy.props.icon = avatar
def _buddy_properties_changed(self, tp, handle, prop): def _buddy_properties_changed(self, tp, handle, properties):
buddy = self._handles_buddies[tp].get(handle) buddy = self._handles_buddies[tp].get(handle)
if buddy: if buddy:
buddy.set_properties(prop) buddy.set_properties(properties)
logging.debug("Buddy %s properties updated" % buddy.props.nick) logging.debug("Buddy %s properties updated: %s" % (buddy.props.nick, properties.keys()))
def _new_activity(self, activity_id, tp): def _new_activity(self, activity_id, tp):
try: try: