jdev - 2020-07-28

  1. Martin

    Do muc invitations have a body element? I sent one to an iOS contact who was offline due to their aggressive battery saving killing and the contact didn't receive the invitation after going online. I don't know if smacks and CSI also might be involved.

  2. jonas’


  3. Martin

    So it depends?

  4. Martin

    It was an adhoc muc if that matters.

  5. pep.

    adhoc muc?

  6. pep.

    Those created automatically?

  7. jonas’

    Martin, it depends on what the client dqoes

  8. Martin

    > adhoc muc? 1-1 chat in conversations, then invite another person.

  9. Martin

    Ok, it seems it contains a body.

  10. Martin

    Jul 28 12:09:19 c2s5565a4577dd0 debug SEND: <message xml:lang='en' to='info@mdosch.de' from='iwicot@chat.mdosch.de'><x xmlns='http://jabber.org/protocol/muc#user'><invite from='martin@mdosch.de/Conversations.y6Eu'><reason/></invite></x><x jid='iwicot@chat.mdosch.de' xmlns='jabber:x:conference'/><body>martin@mdosch.de/Conversations.y6Eu invited you to the room iwicot@chat.mdosch.de</body><stanza-id by='info@mdosch.de' xmlns='urn:xmpp:sid:0' id='2020-07-28-b077f492ef07a591'/></message>

  11. Martin

    Is there something wrong with an invitation like this? ^

  12. Martin

    Maybe some protocol expert could help to clarify this: https://github.com/tigase/siskin-im/issues/50#issuecomment-665149177

  13. Zash

    Looks fine to me. Relevant specs: https://xmpp.org/extensions/xep-0045.html#invite https://xmpp.org/extensions/xep-0249.html

  14. Martin


  15. lovetox

    Martin, what is weird is

  16. lovetox

    that you have a stanza-id element

  17. lovetox

    this should not be there when you send an invite

  18. lovetox

    this could create a problem on the server, maybe it drops the message

  19. Martin

    Hmm, what could cause this? The client was conversations and the server prosody.

  20. lovetox

    no idea to be honest, maybe im missing something here

  21. lovetox

    but this is supposed to be set by the archive after receiving the message

  22. lovetox

    not by the client

  23. lovetox

    but maybe C does something special here which is not yet standard

  24. Martin

    This is from my debug logs so maybe this was added by the server?

  25. lovetox

    how, the log says SEND:

  26. lovetox

    so i guess this is the stanza that goes away fromC

  27. lovetox

    or is this a server debug log?

  28. Martin

    The server sent this to the client,

  29. lovetox


  30. Martin

    The server sent this to the client?

  31. lovetox

    ok yeah then its fine, thought this is a client

  32. Martin

    Ok, thanks. 😃

  33. lovetox

    you should maybe mention that in the ticket

  34. lovetox

    i think the other guy is also confused about it

  35. Martin