diff --git a/gajim/common/app.py b/gajim/common/app.py index a392d9fdd..9ae510221 100644 --- a/gajim/common/app.py +++ b/gajim/common/app.py @@ -67,8 +67,6 @@ plugin_manager = None # Plugins Manager logger = cast(LoggerT, None) -RecentGroupchat = namedtuple('RecentGroupchat', ['room', 'server', 'nickname']) - css_config = None os_info = None # used to cache os information @@ -575,6 +573,9 @@ def get_recent_groupchats(account): recent_groupchats = config.get_per( 'accounts', account, 'recent_groupchats').split() + RecentGroupchat = namedtuple('RecentGroupchat', + ['room', 'server', 'nickname']) + recent_list = [] for groupchat in recent_groupchats: jid = nbxmpp.JID(groupchat)