Commit 24b177c6 authored by Philipp Hörist's avatar Philipp Hörist

TransformChatToMUC: Fix adding muc serice JID

Fixes #10044
parent 55474646
......@@ -917,8 +917,11 @@ def __init__(self, account, jids, preselected=None):
self.server_list_comboboxentry.add_attribute(cell, 'text', 0)
# get the muc server of our server
if 'jabber' in app.connections[account].muc_jid:
con = app.connections[account]
service_jid = con.get_module('MUC').service_jid
if service_jid is not None:
# add servers or recently joined groupchats
recently_groupchat = app.config.get_per('accounts', account, 'recent_groupchats').split()
for g in recently_groupchat:
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