services/presence/buddy: Fix thinko - register Owner with correct objid

Previously the keyid/ prefix was missing.
This commit is contained in:
Simon McVittie
2007-05-30 17:38:58 +01:00
parent ee6c1b4283
commit fd4e514e21
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -63,7 +63,8 @@ class TestOwner(GenericOwner):
icon = _get_random_image()
_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,
registered=registered, key_hash=privkey_hash)