diff --git a/src/common/xmpp_stringprep.py b/src/common/xmpp_stringprep.py index f8bad61b4..f81ed9f2e 100644 --- a/src/common/xmpp_stringprep.py +++ b/src/common/xmpp_stringprep.py @@ -185,7 +185,8 @@ class NamePrep: prohibiteds = [unichr(n) for n in range(0x00, 0x2c + 1) + range(0x2e, 0x2f + 1) + range(0x3a, 0x40 + 1) + - range(0x5b, 0x60 + 1) + + range(0x5b, 0x5e + 1) + + range(0x60, 0x60 + 1) + range(0x7b, 0x7f + 1) ] def prepare(self, string): diff --git a/src/gajim.py b/src/gajim.py index f2220e967..ec444049e 100755 --- a/src/gajim.py +++ b/src/gajim.py @@ -1894,7 +1894,6 @@ class Interface: if not gajim.config.get_per('accounts', account, 'is_zeroconf'): gajim.connections[account] = common.connection.Connection(account) - # gtk hooks # gtk hooks gtk.about_dialog_set_email_hook(self.on_launch_browser_mailer, 'mail') gtk.about_dialog_set_url_hook(self.on_launch_browser_mailer, 'url')