Fix publish vcard avatars, and PEP avatar metadata.

This commit is contained in:
Lance Stout
2012-07-24 19:43:39 -07:00
parent 70883086b7
commit 9d8de7fc15
3 changed files with 13 additions and 8 deletions

View File

@@ -75,6 +75,9 @@ class XEP_0153(BasePlugin):
return stanza
def _reset_hash(self, jid=None):
if jid is None:
jid = self.xmpp.boundjid
own_jid = (jid.bare == self.xmpp.boundjid.bare)
if self.xmpp.is_component:
own_jid = (jid.domain == self.xmpp.boundjid.domain)