-
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.
-
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.
-
Ge0rG
I suppose this isn't really clarified anywhere. Technically, it should be possible.
-
Kev
I would expect multiple files on a single message.
-
Ge0rG
For OOB, everybody is doing the undocumented body == oob-URL hack where you only ever can have one attachment
-
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
-
Menel
Ge0rG: that's only because of Conversations, isn't it?
-
wurstsalat
nicoco: for plain XEP-0363, see https://docs.modernxmpp.org/client/protocol/#communicating-the-url
-
Ge0rG
Menel: mostly yes
-
nicoco
wurstsalat: unfortunately I discovered modernxmpp.org later than I hoped, but it's nice that this "rule" is written somewhere at least :)