XSF Discussion - 2022-10-04


  1. flow

    singpolyma, not as far as I remember, but isn't that something you would usually negotiate with the online counterparty?

  2. flow

    not saying that advertising codes etc. in disco is a bad idea, i just believe we haven't seen such a thing because it is usually negotiated after the disco lookup

  3. Daniel

    I don't think there has been any discussion on that but we do that on one of the projects I'm working on

  4. flow

    Daniel, I am curious. Can you elaborate on the motivation for doing so?

  5. Daniel

    For example voice messages going from iOS to Android. Android supports the very low bandwidth GSM codec (aar something) while iOS does not. When sending between Androids we use that. But when sending to iOS we use ogg

  6. Daniel

    Plus potentially sending heif or avif images that older Androids don't support

  7. Daniel

    > For example voice messages going from iOS to Android. Android supports the very low bandwidth GSM codec (aar something) while iOS does not. When sending between Androids we use that. But when sending to iOS we use ogg Plus older versions of Android don't have an ogg encoder so we simply hide the voice message button when the contact is iOS

  8. Daniel

    All in all classic negotiation stuff but for one shot message types

  9. flow

    thanks :)

  10. MattJ

    Daniel: how do you deal with this when the recipient is offline?

  11. Daniel

    We do some light client side caching. Storing boolean like "supports low quality voice message". Conversations does this too with "supports av calls"

  12. Daniel

    But it's easier on that project because every user has only one client

  13. flow

    MattJ, https://github.com/Flowdalic/xeps/commit/1d0d0227af7cd9866c4c913ca8bb98b15c73748b

  14. MattJ

    Yay, thanks :)

  15. MattJ

    ETA on -NONE? ;)

  16. flow

    MattJ, I was hoping that I could motviate you to write the patch for -NONE, together with a big fat warning text about the implications (even though, -NONE potentially has similar security properties like -UNIQ). I guess we should also write a sentence recommending using tls-exporter when available

  17. MattJ

    Sure

  18. singpolyma

    Daniel: yeah, that sounds exactly like the kind of use I had in mind. Even webp support for image messages isn't universal