Commit 8adb6ce3 authored by Daniel Brötzmann's avatar Daniel Brötzmann Committed by Philipp Hörist
Browse files

RosterTooltip: Use group chat description for status

parent 98f2e2f6
......@@ -385,7 +385,14 @@ def _populate_grid(self, contacts, account, typ):
else: # only one resource
if and contact.status:
if contact.is_groupchat:
disco_info = app.logger.get_last_disco_info(contact.jid)
if disco_info is not None:
description = disco_info.muc_description
if description:
elif and contact.status:
status = contact.status.strip()
if status:
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