-
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?
-
jonas’
lack of client support?
-
Schimon
No lack of client support. I think it's useful and perhaps some servers would rather no to allow HTTP uploads.
-
lovetox
hm when a user on a transport
-
lovetox
say a matrix user
-
lovetox
and i send a disco info
-
lovetox
how would the response look like
-
lovetox
the <identity>
-
lovetox
would it contain some information that this is a user on a gateway?
-
lovetox
and another question, is a gateway always just a domain?
-
lovetox
or can a user account also be a gateway
-
lovetox
aim.jabber.org vs aim@jabber.org
-
Zash
best not to make assumptions if you can avoid it, other than "it's a JID"
-
lovetox
Zash, but how to avoid it? there is nothing that marks a jid as a user account
-
lovetox
but interaction with a gateway is different then iteraction with a user account
-
lovetox
i need to know with what i deal
-
jonas’
disco#info should tell you whether you are dealing with a gateway
-
jonas’
user accounts are user accounts, no matter if via gateway or not IMO
-
jonas’
but the gateway knows best and should expose that sensible✎ -
jonas’
but the gateway knows best and should expose that sensibly ✏
-
lovetox
so i have a jid user@domain.com
-
lovetox
and it returns this in its disco info
-
lovetox
<identity type="telegram" name="Telegram Gateway" category="gateway" />
-
lovetox
what should i do?
-
jonas’
what other identities does it return?
-
jonas’
just that one?
-
Zash
> what should i do? when? why?
-
lovetox
just that one
-
lovetox
the question goes into the direction, how do i discover a user account
-
lovetox
and i feel there is no good answer with xmpp
-
lovetox
its more like, if it misses a lot of other things, then its probably a user account
-
lovetox
what about
-
lovetox
identity category='client'
-
lovetox
but this is only returned if an actual client answers the disco info
-
lovetox
which for gateways is not the case
-
lovetox
from the registry: The "gateway" category consists of translators between Jabber/XMPP services and non-XMPP services.
-
jonas’
lovetox, complain to the gateway, it should return category='client' for end identities
-
lovetox
so category gateway is only allowed to be returned from a service
-
lovetox
at least i read it that way
-
lovetox
actually the gateway should probably respond with
-
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.
-
jonas’
ah yes, account I meant