Failure to enable anonymous account
Versions
- OS: ArchLinux
- Gajim version: 7a585f20
- GTK version: 3.24.37
- Python-nbxmpp version: f9220af8238c623c7a1cfb28776276c4ef84d70f
Steps to reproduce the problem
- Go to the sign up account dialog
- Select an anonymous server such as anon.jabberfr.org
- Try to enable it
Expected behavior
It would get enabled.
Actual behavior
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/gajim/gtk/accounts.py", line 600, in _on_enable_switch
app.app.enable_account(account)
File "/usr/lib/python3.10/site-packages/gajim/gtk/application.py", line 557, in enable_account
CoreApplication.enable_account(self, account)
File "/usr/lib/python3.10/site-packages/gajim/common/application.py", line 384, in enable_account
app.connections[account] = Client(account)
File "/usr/lib/python3.10/site-packages/gajim/common/client.py", line 102, in __init__
modules.register_modules(self)
File "/usr/lib/python3.10/site-packages/gajim/common/modules/__init__.py", line 65, in register_modules
instance = base_class.get_instance(client)
File "/usr/lib/python3.10/site-packages/gajim/common/modules/base.py", line 56, in get_instance
return cls(client)
File "/usr/lib/python3.10/site-packages/gajim/common/modules/omemo.py", line 124, in __init__
self._own_jid = self._client.get_own_jid().bare
File "/usr/lib/python3.10/site-packages/gajim/common/client.py", line 344, in get_own_jid
return nbxmpp.JID.from_string(app.get_jid_from_account(self._account))
File "/usr/lib/python3.10/site-packages/nbxmpp/protocol.py", line 653, in from_string
return cls(localpart=localpart,
File "/usr/lib/python3.10/site-packages/nbxmpp/protocol.py", line 617, in __init__
localpart = validate_localpart(localpart)
File "/usr/lib/python3.10/site-packages/nbxmpp/protocol.py", line 489, in validate_localpart
raise LocalpartByteLimit
nbxmpp.protocol.LocalpartByteLimit: Localpart must be between 1 and 1023 bytes