Commit b355098b authored by Link Mauve's avatar Link Mauve

muctab: Display the bookmark name when available, instead of the localpart.

parent eae26926
......@@ -374,9 +374,13 @@ class MucTab(ChatTab):
return False
def get_nick(self):
if not config.get('show_muc_jid'):
return safeJID(
if config.get('show_muc_jid'):
bookmark = self.core.bookmarks[]
if bookmark is not None and
# TODO: send the disco#info identity name here, if it exists.
return safeJID(
def get_text_window(self):
return self.text_win
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