Commit 97080f7a authored by Philipp Hörist's avatar Philipp Hörist
Browse files

UserAvatar: Handle empty data nodes

parent 213ee3cd
Pipeline #7401 passed with stages
in 7 minutes and 14 seconds
......@@ -71,6 +71,11 @@ def _request_avatar_data(self, jid, avatar_info):
avatar = yield self._nbxmpp('UserAvatar').request_avatar_data(, jid=jid)
if avatar is None:
self._log.warning('%s advertised %s but data node is empty',
if is_error(avatar):
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