-
Kev
> Background: swift (or swiften?) is a dependency of spectrum2, and I wonder, if spectrum2 should be build without swift support, if the project is not really alive anymore? Swift the Qt-based client isn't still developed, Swiften the library is still actively maintained, but we've probably not been pushing up since we migrated some internal tooling. I'm sure we can sort out pushing up Swiften again if that's desired.
-
lovetox
does a server already support the 490 server assists thingy?
-
singpolyma
I don't think so
-
lovetox
MDS adds a lot of traffic ..
-
lovetox
for every message i receive in a chat that i read, i need to send an extra stanza, and then receive an extra event, which i need to process
-
lovetox
at least now, without server support
-
lovetox
then its one pubsub publish less
-
lovetox
im not sure why server send the pubsub event to the person that did the publish
-
lovetox
seems like a waste
-
lovetox
Gajim still does not support pubsub+rsm
-
lovetox
but seems it was never a problem until now, but i guess it could get one with MDS
-
lovetox
which brings me again to item expiry, would be really good if we had that
-
lovetox
then we could expire old mds entries
-
lovetox
its in the spec, but nobody implements it to my knowledge
-
singpolyma
Old entries? It's just one entry per chat
-
lovetox
just? that can easily amount to hundreds in a year, even for normal usage
-
lovetox
we need to pull that on each reconnect
-
lovetox
its kind of ok, if we need that data, but you dont need to pull a stanza id which is 2 years old, just because you wrote that one moderator a pm in a groupchat
-
lovetox
if server would support expiry we could set a 6 months or whatever item expire date
-
lovetox
that list of items is only bound by the max item count of the server, which is probably so high you never ever want to pull the max
-
lovetox
their is no mechanism described in the XEP how this list ever gets smaller, i guess in 2 years i add a cleanup routine
-
lovetox
a note in the XEP to prepare to implement pubsub#rsm, would also be good, because without it your impl has also a expiry date
-
singpolyma
Because of stanza size limit?
-
lovetox
no because you get only half the items and no error
-
lovetox
if you request "all" items, server sends you 10 and a rsm element, if a client does not support rsm, he simply will believe there are only 10 items
-
singpolyma
Really? That seems crazy
-
lovetox
> A node may have a large number of items associated with it, in which case it may be problematic to return all of the items in response to an items request. In this case, the service SHOULD return some of the items and note that the list of items has been truncated by including a Result Set Management (XEP-0059) [17] notation.
-
lovetox
i dont find this crazy though, works as i would expect it
-
lovetox
if you only implement half of a spec (pubsub) then you should think about the consequences
-
lovetox
in most cases pubsub XEPs publish only to singleton nodes, you are only interested in the last item
-
lovetox
bookmarks is already on the edge, you probably should have rsm support, but most non-power users need probably a very long time to mass that many MUCs
-
lovetox
but with MDS you basically will have a item for every jid you ever talked to, so i think this list will grow faster