jdev - 2023-01-24


  1. nicoco

    Can there be multiple "attachements" (SIMS or Stateless File Sharing) to a single message, or is this a bad idea? Some networks allow multiple attachements to a single message. Right now slidge sends several messages which is OK, but it would makes my life easier if I keep a simpler "one legacy msg" → "one xmpp message" mapping, so I'm wondering.

  2. nicoco

    The XEPs don't seem to forbid it, but I'd be happy to hear what client devs that plan to implement one or the other think about that.

  3. Ge0rG

    I suppose this isn't really clarified anywhere. Technically, it should be possible.

  4. Kev

    I would expect multiple files on a single message.

  5. Ge0rG

    For OOB, everybody is doing the undocumented body == oob-URL hack where you only ever can have one attachment

  6. nicoco

    I figured that the hard way a while ago, and this behaviour (one msg/one attachment/url both in body and oob) will stay the default for a while in slidge I think. But I could add a "--modern-attachments" flag for the braves

  7. Menel

    Ge0rG: that's only because of Conversations, isn't it?

  8. wurstsalat

    nicoco: for plain XEP-0363, see https://docs.modernxmpp.org/client/protocol/#communicating-the-url

  9. Ge0rG

    Menel: mostly yes

  10. nicoco

    wurstsalat: unfortunately I discovered modernxmpp.org later than I hoped, but it's nice that this "rule" is written somewhere at least :)