jdev - 2022-06-19


  1. Schimon

    > MattJ: > 2022-06-15 07:01 (GMT+03:00) > I think being able to specify multiple URLs for the same content in XMPP would be a nice feature > Zash (Modern XMPP project discussion): > 2022-06-17 11:03 (GMT+03:00) > From my own statistics, the majority of uploads are under 1MB, but many video files are up to 100MB. Zash, in light of what you wrote, what do you think of IPFS or alternative links of non-HTTP protocols?

  2. jonas’

    lack of client support?

  3. Schimon

    No lack of client support. I think it's useful and perhaps some servers would rather no to allow HTTP uploads.

  4. lovetox

    hm when a user on a transport

  5. lovetox

    say a matrix user

  6. lovetox

    and i send a disco info

  7. lovetox

    how would the response look like

  8. lovetox

    the <identity>

  9. lovetox

    would it contain some information that this is a user on a gateway?

  10. lovetox

    and another question, is a gateway always just a domain?

  11. lovetox

    or can a user account also be a gateway

  12. lovetox

    aim.jabber.org vs aim@jabber.org

  13. Zash

    best not to make assumptions if you can avoid it, other than "it's a JID"

  14. lovetox

    Zash, but how to avoid it? there is nothing that marks a jid as a user account

  15. lovetox

    but interaction with a gateway is different then iteraction with a user account

  16. lovetox

    i need to know with what i deal

  17. jonas’

    disco#info should tell you whether you are dealing with a gateway

  18. jonas’

    user accounts are user accounts, no matter if via gateway or not IMO

  19. jonas’

    but the gateway knows best and should expose that sensible

  20. jonas’

    but the gateway knows best and should expose that sensibly

  21. lovetox

    so i have a jid user@domain.com

  22. lovetox

    and it returns this in its disco info

  23. lovetox

    <identity type="telegram" name="Telegram Gateway" category="gateway" />

  24. lovetox

    what should i do?

  25. jonas’

    what other identities does it return?

  26. jonas’

    just that one?

  27. Zash

    > what should i do? when? why?

  28. lovetox

    just that one

  29. lovetox

    the question goes into the direction, how do i discover a user account

  30. lovetox

    and i feel there is no good answer with xmpp

  31. lovetox

    its more like, if it misses a lot of other things, then its probably a user account

  32. lovetox

    what about

  33. lovetox

    identity category='client'

  34. lovetox

    but this is only returned if an actual client answers the disco info

  35. lovetox

    which for gateways is not the case

  36. lovetox

    from the registry: The "gateway" category consists of translators between Jabber/XMPP services and non-XMPP services.

  37. jonas’

    lovetox, complain to the gateway, it should return category='client' for end identities

  38. lovetox

    so category gateway is only allowed to be returned from a service

  39. lovetox

    at least i read it that way

  40. lovetox

    actually the gateway should probably respond with

  41. lovetox

    The "account" category is to be used by a server when responding to a disco request sent to the bare JID (user@host addresss) of an account hosted by the server.

  42. jonas’

    ah yes, account I meant