Skip to content
Snippets Groups Projects
Commit 5a99b155 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

we cannot join a groupchat if we are not connected

parent f2d850da
No related branches found
No related tags found
No related merge requests found
......@@ -1278,6 +1278,9 @@ class join_gc:
widget.get_toplevel().destroy()
def __init__(self, plugin, account, server='', room = ''):
if not plugin.connected[account]:
warning_Window(_("You must be connected to join a group chat on this serveur"))
return
self.plugin = plugin
self.account = account
self.xml = gtk.glade.XML(GTKGUI_GLADE, 'Join_gc', APP)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment