diff options
author | mathieui <mathieui@mathieui.net> | 2012-02-09 17:45:28 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2012-02-09 17:45:28 +0100 |
commit | f76959c78c99044a3f43714ad285178a25498a90 (patch) | |
tree | fa2507431830b794a98234e2f7710d6bac17693f /src | |
parent | 383bb02f0bf0a2618de6c196d4056affbfc896d7 (diff) | |
download | poezio-f76959c78c99044a3f43714ad285178a25498a90.tar.gz poezio-f76959c78c99044a3f43714ad285178a25498a90.tar.bz2 poezio-f76959c78c99044a3f43714ad285178a25498a90.tar.xz poezio-f76959c78c99044a3f43714ad285178a25498a90.zip |
Restrict nick change for gmail users because gmail.com is buggy
Diffstat (limited to 'src')
-rw-r--r-- | src/tabs.py | 4 |
1 files changed, 4 insertions, 0 deletions
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 <jid or nick>\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() |