Commit e9811609 authored by Philipp Hörist's avatar Philipp Hörist

Avatar: Pass JID as string

parent a1e2041e
Pipeline #4109 passed with stages
in 2 minutes and 36 seconds
......@@ -123,7 +123,7 @@ class VCardAvatars(BaseModule):
avatar_sha = disco_info.get_field_value(nbxmpp.NS_MUC_INFO, field_var)
state = AvatarState.EMPTY if not avatar_sha else AvatarState.ADVERTISED
self._process_update(disco_info.jid, state, avatar_sha, True)
self._process_update(str(disco_info.jid), state, avatar_sha, True)
def _update_received(self, properties, room=False):
self._process_update(properties.jid.getBare(),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment