Hi again!
In version 1.1.0 this error appears when some users send normal messages from Telegram. I couldn’t determine why it works fine with some users and fails with others, sorry. This only happens with messages going from Telegram → XMPP; from XMPP → Telegram it always works fine.
The error it throws is:
[2025-11-21 11:45:48,144] asyncio - ERROR: Task exception was never retrieved
future: <Task finished name='Task-183' coro=<XmppActor.join.._try_to_join() done, defined at /home/me/Bots/jabagram1.0/jabagram/xmpp/actor.py:118> exception=ValueError('This is not a valid condition type', '')>
Traceback (most recent call last):
File "/home/me/Bots/jabagram1.0/jabagram/xmpp/actor.py", line 123, in _try_to_join
await self.plugin['xep_0045'].join_muc_wait(
File "/home/me/.local/lib/python3.10/site-packages/slixmpp/plugins/xep_0045/muc.py", line 385, in join_muc_wait
return await self._await_join(room, stanza, timeout)
File "/home/me/.local/lib/python3.10/site-packages/slixmpp/plugins/xep_0045/muc.py", line 456, in _await_join
raise PresenceError(pres)
File "/home/me/.local/lib/python3.10/site-packages/slixmpp/exceptions.py", line 117, in init
super().init(...)
File "/home/me/.local/lib/python3.10/site-packages/slixmpp/exceptions.py", line 51, in init
raise ValueError("This is not a valid condition type", condition)
ValueError: ('This is not a valid condition type', '')
With version 1.0.1 everything works fine. The users who trigger the error in 1.1.0 work correctly when sending messages in version 1.0.1.