Commit 1b4c3c9d authored by Philipp Hörist's avatar Philipp Hörist

Contacts: Set avatar sha on groupchat contacts

parent e15aaa21
......@@ -1522,10 +1522,12 @@ def show_groupchat(self, account, room_jid):
def create_groupchat_control(self, account, room_jid, muc_data,
minimize=False):
avatar_sha = app.logger.get_muc_avatar_sha(room_jid)
contact = app.contacts.create_contact(jid=room_jid,
account=account,
groups=[_('Group chats')],
sub='none',
avatar_sha=avatar_sha,
groupchat=True)
app.contacts.add_contact(account, contact)
......
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