Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
S
slixmpp
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 35
    • Issues 35
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 12
    • Merge Requests 12
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • poezio
  • slixmpp
  • Issues
  • #3460

Closed
Open
Opened Jan 13, 2021 by decentral1se@decentral1se

Kicking and re-joining triggers message_error/groupchat_message_error

This handler should just run over and over again but it does not.

https://git.autonomic.zone/decentral1se/xbotlib/src/commit/1bbbbf91593276b94e8a0672e34cfe1b23682c04/xbotlib.py#L130-L134

The resulting logs:

DEBUG    RECV: <presence to="echobot@foo.com/i8Q_SREy" type="unavailable" from="foobar@muc.foo.com/echobot" id="7ad540580b6e41eead4f6a76b78a3ed2"><x xmlns="http://jabber.org/protocol/muc#user"><status code="307" /><item role="none" jid="echobot@foo.com/i8Q_SREy" affiliation="member"><actor nick="foobar" /></item><status code="110" /></x></presence>
DEBUG    MUC presence from foobar@muc.foo.com/echobot : {'lang': '', 'nick': 'echobot', 'role': 'none', 'jid': 'echobot@foo.com/i8Q_SREy', 'status_codes': {307, 110}, 'room': 'foobar@muc.foo.com', 'affiliation': 'member', 'status': '', 'show': None, 'alt_nick': ''}
DEBUG    Event triggered: groupchat_presence
DEBUG    Event triggered: muc::foobar@muc.foo.com::presence
DEBUG    Event triggered: muc::foobar@muc.foo.com::got_offline

DEBUG    RECV: <message to="echobot@foo.com" id="77f41bca-c25e-4046-ace8-4552afef3101" from="foobar@muc.foo.com"><x xmlns="http://jabber.org/protocol/muc#user"><invite from="foobar@foo.com/dino.68992a39"><reason /></invite></x><body>foobar@foo.com/dino.68992a39 invited you to the room foobar@muc.foo.com</body><x xmlns="jabber:x:conference" jid="foobar@muc.foo.com" /><stanza-id xmlns="urn:xmpp:sid:0" id="b97f3cc2-4cc1-4c7e-aa86-581e7f524e7f" by="echobot@foo.com" /></message>
DEBUG    Event triggered: message
DEBUG    SEND: <message type="chat" to="foobar@muc.foo.com" id="f9f53ca613584a4d9e8421fc7605ca63" xml:lang="en"><origin-id xmlns="urn:xmpp:sid:0" id="f9f53ca613584a4d9e8421fc7605ca63" /><body>foobar@foo.com/dino.68992a39 invited you to the room foobar@muc.foo.com</body></message>
DEBUG    RECV: <message to="echobot@foo.com/i8Q_SREy" from="foobar@muc.foo.com" type="error" id="f9f53ca613584a4d9e8421fc7605ca63"><error type="cancel"><service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></message>
DEBUG    Event triggered: message_error
DEBUG    Event triggered: groupchat_message_error
DEBUG    Event triggered: muc::foobar@muc.foo.com::message_error
Edited Jan 13, 2021 by decentral1se
To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: poezio/slixmpp#3460