services/presence/buddy: Fix thinko - register Owner with correct objid
Previously the keyid/ prefix was missing.
This commit is contained in:
parent
ee6c1b4283
commit
fd4e514e21
@ -589,7 +589,8 @@ class ShellOwner(GenericOwner):
|
|||||||
icon = f.read()
|
icon = f.read()
|
||||||
f.close()
|
f.close()
|
||||||
|
|
||||||
GenericOwner.__init__(self, ps, bus, psutils.pubkey_to_keyid(key),
|
GenericOwner.__init__(self, ps, bus,
|
||||||
|
'keyid/' + psutils.pubkey_to_keyid(key),
|
||||||
key=key, nick=nick, color=color, icon=icon, server=server,
|
key=key, nick=nick, color=color, icon=icon, server=server,
|
||||||
key_hash=key_hash, registered=registered)
|
key_hash=key_hash, registered=registered)
|
||||||
|
|
||||||
|
@ -63,7 +63,8 @@ class TestOwner(GenericOwner):
|
|||||||
icon = _get_random_image()
|
icon = _get_random_image()
|
||||||
|
|
||||||
_logger.debug("pubkey is %s" % pubkey)
|
_logger.debug("pubkey is %s" % pubkey)
|
||||||
GenericOwner.__init__(self, ps, bus, pubkey_to_keyid(pubkey),
|
GenericOwner.__init__(self, ps, bus,
|
||||||
|
'keyid/' + pubkey_to_keyid(pubkey),
|
||||||
key=pubkey, nick=nick, color=color, icon=icon,
|
key=pubkey, nick=nick, color=color, icon=icon,
|
||||||
registered=registered, key_hash=privkey_hash)
|
registered=registered, key_hash=privkey_hash)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user