From f76959c78c99044a3f43714ad285178a25498a90 Mon Sep 17 00:00:00 2001 From: mathieui Date: Thu, 9 Feb 2012 17:45:28 +0100 Subject: Restrict nick change for gmail users because gmail.com is buggy --- src/tabs.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/tabs.py b/src/tabs.py index 4cf5c479..19ac06b5 100644 --- a/src/tabs.py +++ b/src/tabs.py @@ -545,6 +545,10 @@ class MucTab(ChatTab): self.commands['configure'] = (self.command_configure, _('Usage: /configure\nConfigure: Configure the current room, through a form.'), None) self.commands['version'] = (self.command_version, _('Usage: /version \nVersion: Get the software version of the given JID or nick in room (usually its XMPP client and Operating System).'), self.completion_version) self.commands['names'] = (self.command_names, _('Usage: /names\nNames: Get the list of the users in the room, and the list of the people assuming the different roles.'), None) + + if self.core.xmpp.boundjid.server == "gmail.com": #gmail sucks + del self.commands["nick"] + self.resize() self.update_commands() self.update_keys() -- cgit v1.2.3