fixes #1995 (hopefully google will fix their server, one day…)
This commit is contained in:
parent
ec1aef198b
commit
bf5599d4d0
1 changed files with 6 additions and 1 deletions
|
@ -1363,7 +1363,12 @@ class Core(object):
|
|||
if isinstance(tab, tabs.MucTab):
|
||||
muc.leave_groupchat(self.xmpp, tab.get_room().name, tab.get_room().own_nick, msg)
|
||||
self.save_config()
|
||||
self.xmpp.disconnect(False)
|
||||
# Ugly fix thanks to gmail servers
|
||||
try:
|
||||
sys.stderr = None
|
||||
self.xmpp.disconnect(False)
|
||||
except:
|
||||
pass
|
||||
|
||||
def command_quit(self, arg):
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue