how can we query chat history between two user from react.
TheRealkaranohas left
TheRealkaranohas joined
Mario Sabatinohas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
dpeshas left
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
raghavgururajanhas left
TheRealkaranohas left
suohuahas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
wurstsalathas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
tskhas left
alhas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
Alexhas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
Alexhas left
Alexhas joined
atomicwatchhas joined
TheRealkaranohas left
TheRealkaranohas joined
MSavoritias (fae,ve)has left
MSavoritias (fae,ve)has joined
TheRealkaranohas left
TheRealkaranohas joined
marc0shas left
marc0shas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
larmahas joined
iinkhas joined
TheRealkaranohas left
TheRealkaranohas joined
Alexhas left
Alexhas joined
TheRealkaranohas left
TheRealkaranohas joined
Alexhas left
TheRealkaranohas left
Alexhas joined
TheRealkaranohas joined
iinkhas left
iinkhas joined
TheRealkaranohas left
TheRealkaranohas joined
MSavoritias (fae,ve)has left
MSavoritias (fae,ve)has joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
marchas joined
TheRealkaranohas left
TheRealkaranohas joined
atomicwatchhas left
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
norayrhas left
TheRealkaranohas left
TheRealkaranohas joined
Millesimushas left
norayrhas joined
TheRealkaranohas left
TheRealkaranohas joined
sonnyhas left
sonnyhas joined
Millesimushas joined
debaclehas joined
TheRealkaranohas left
TheRealkaranohas joined
pulkomandyhas left
pulkomandyhas joined
edhelashas left
marc0shas left
marc0shas joined
edhelashas joined
pulkomandyhas left
pulkomandyhas joined
Mx2has left
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
edhelashas left
TheRealkaranohas joined
edhelashas joined
edhelashas left
edhelashas joined
alhas left
edhelashas left
edhelashas joined
marc0shas left
marc0shas joined
sonnyhas left
sonnyhas joined
debaclehas left
debaclehas joined
TheRealkaranohas left
TheRealkaranohas joined
sonnyhas left
sonnyhas joined
sonnyhas left
sonnyhas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
qyhas left
TheRealkaranohas left
TheRealkaranohas joined
Millesimushas left
TheRealkaranohas left
TheRealkaranohas joined
qyhas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
sonnyhas left
sonnyhas joined
sonnyhas left
TheRealkaranohas left
Schimon_has left
sonnyhas joined
Schimon_has joined
TheRealkaranohas joined
marc0shas left
marc0shas joined
marc0shas left
marc0shas joined
TheRealkaranohas left
TheRealkaranohas joined
Millesimushas joined
marc0shas left
marc0shas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
Schimon_has left
Schimon_has joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
marc0shas left
marc0shas joined
marc0shas left
marc0shas joined
TheRealkaranohas left
TheRealkaranohas joined
marc0shas left
marc0shas joined
TheRealkaranohas left
TheRealkaranohas joined
heartyhas left
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
atomicwatchhas joined
tskhas joined
TheRealkaranohas left
TheRealkaranohas joined
Matrix Traveler (bot)has left
homebeachhas left
homebeachhas joined
Matrix Traveler (bot)has joined
TheRealkaranohas left
TheRealkaranohas joined
debaclehas left
antranigvhas left
antranigvhas joined
Link Mauve
dpes, are you a client, connected as one of these two users? If so, have a look at XEP-0313, or a library which implements that.
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
heartyhas joined
jubalhhas left
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
Mx2has joined
TheRealkaranohas left
TheRealkaranohas joined
kurtainhas left
Mx2has left
Laurahas left
atomicwatchhas left
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
atomicwatchhas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
debaclehas joined
sonnyhas left
sonnyhas joined
sonnyhas left
sonnyhas joined
antranigvhas left
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
MSavoritias (fae,ve)has left
MSavoritias (fae,ve)has joined
atomicwatchhas left
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
sonnyhas left
sonnyhas joined
sonnyhas left
sonnyhas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
xeckshas joined
atomicwatchhas joined
MSavoritias (fae,ve)has left
MSavoritias (fae,ve)has joined
stuart.j.mackintoshhas left
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
stuart.j.mackintoshhas joined
TheRealkaranohas joined
spiralhas left
MSavoritias (fae,ve)has left
MSavoritias (fae,ve)has joined
TheRealkaranohas left
TheRealkaranohas joined
zawarudohas joined
adxhas joined
spiralhas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
emushas left
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
pulkomandyhas left
pulkomandyhas joined
TheRealkaranohas left
TheRealkaranohas joined
Mx2has joined
selurveduhas joined
TheRealkaranohas left
pulkomandyhas left
pulkomandyhas joined
TheRealkaranohas joined
pulkomandyhas left
pulkomandyhas joined
TheRealkaranohas left
TheRealkaranohas joined
MSavoritias (fae,ve)has left
TheRealkaranohas left
TheRealkaranohas joined
Mx2has left
MSavoritias (fae,ve)has joined
kurtainhas joined
TheRealkaranohas left
spiralhas left
TheRealkaranohas joined
sonnyhas left
sonnyhas joined
TheRealkaranohas left
pulkomandyhas left
TheRealkaranohas joined
pulkomandyhas joined
TheRealkaranohas left
TheRealkaranohas joined
MSavoritias (fae,ve)has left
TheRealkaranohas left
MSavoritias (fae,ve)has joined
TheRealkaranohas joined
spiralhas joined
pulkomandyhas left
pulkomandyhas joined
emushas joined
pulkomandyhas left
TheRealkaranohas left
TheRealkaranohas joined
pulkomandyhas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
atomicwatchhas left
pulkomandyhas left
pulkomandyhas joined
PapaTutuWawahas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
pulkomandyhas left
pulkomandyhas joined
atomicwatchhas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
heartyhas left
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
heartyhas joined
TheRealkaranohas left
TheRealkaranohas joined
nikhas left
nikhas joined
TheRealkaranohas left
TheRealkaranohas joined
jubalhhas joined
TheRealkaranohas left
TheRealkaranohas joined
Laurahas joined
spiralhas left
TheRealkaranohas left
TheRealkaranohas joined
spiralhas joined
pulkomandyhas left
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
pulkomandyhas joined
Alexhas left
Alexhas joined
sonnyhas left
sonnyhas joined
zawarudohas left
pulkomandyhas left
pulkomandyhas joined
TheRealkaranohas left
TheRealkaranohas joined
pulkomandyhas left
pulkomandyhas joined
pulkomandyhas left
pulkomandyhas joined
pulkomandyhas left
rubihas left
pulkomandyhas joined
adxhas left
TheRealkaranohas left
TheRealkaranohas joined
heartyhas left
rubihas joined
TheRealkaranohas left
TheRealkaranohas joined
pulkomandyhas left
TheRealkaranohas left
TheRealkaranohas joined
heartyhas joined
pulkomandyhas joined
TheRealkaranohas left
TheRealkaranohas joined
jubalhhas left
jubalhhas joined
pulkomandyhas left
Yagizаhas left
pulkomandyhas joined
Mx2has joined
TheRealkaranohas left
TheRealkaranohas joined
Wojtekhas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
spiralhas left
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
rubihas left
heartyhas left
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
spiralhas joined
nikhas left
nikhas joined
jubalhhas left
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
heartyhas joined
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
Alexhas left
TheRealkaranohas left
TheRealkaranohas joined
kikuchiyohas left
adxhas joined
Alexhas joined
TheRealkaranohas left
TheRealkaranohas joined
paulhas left
kujiuhas left
marc0shas left
marc0shas joined
xnamedhas left
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
marc0shas left
marc0shas joined
TheRealkaranohas left
TheRealkaranohas joined
kikuchiyohas joined
TheRealkaranohas left
TheRealkaranohas joined
Matrix Traveler (bot)has left
homebeachhas left
homebeachhas joined
Matrix Traveler (bot)has joined
xeckshas left
xeckshas joined
TheRealkaranohas left
TheRealkaranohas joined
antranigvhas joined
antranigvhas left
antranigvhas joined
alhas joined
Wojtekhas left
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
heartyhas left
TheRealkaranohas left
TheRealkaranohas joined
PapaTutuWawahas left
TheRealkaranohas left
TheRealkaranohas joined
rubihas joined
TheRealkaranohas left
TheRealkaranohas joined
heartyhas joined
antranigvhas left
TheRealkaranohas left
TheRealkaranohas joined
Mx2has left
marc0shas left
marc0shas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
rubihas left
TheRealkaranohas left
TheRealkaranohas joined
rubihas joined
PapaTutuWawahas joined
Wojtekhas joined
TheRealkaranohas left
Yagizаhas joined
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
spiralhas left
pep.
So what is is there in the “MUC reliability kit“ apart form.. resyncs? 0410?
pep.
Ah 0045 says MUCs may also ping participants sometimes to ensure they're still there. So.. it goes both ways? :-°
jubalhhas joined
TheRealkaranohas left
TheRealkaranohas joined
Alexhas left
Alexhas joined
Ge0rG
A MUC could probably do that after a while of not forwarding stanzas. Otherwise, whenever I start typing in a large but calm room, I see dozens of users get kicked due to s2s errors from delivering my typing notification ;)
pep.
Also for 410, I still need to check whether the requestor is joined or would be able to, to answer anything useful. So I actually know if they're joined and I could reply something more useful than <item-not-found/> if they've pinging the wrong nick because another resource changed it
spiralhas joined
pep.
But I also don't know if that ping was meant to check if they're still connected because there's nothing to indicate intent..
Link Mauve
Ge0rG, well, it’d increase resource consumption by a lot for mobile users who are in many MUCs, especially at night.
pep.
Except 410 gladly overwrites the behaviour of pinging participants (even for non-supporting clients) so it might make sense just to return a prsence from another occupant with a successful pong
Link Mauve
Is it an issue to see them get kicked on a chatstate?
Alexhas left
Mx2has joined
Alexhas joined
jubalhhas left
heartyhas left
heartyhas joined
alhas left
TheRealkaranohas left
TheRealkaranohas joined
Alexhas left
Alexhas joined
jubalhhas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
suohuahas joined
rubihas left
TheRealkaranohas left
TheRealkaranohas joined
zawarudohas joined
spiralhas left
TheRealkaranohas left
nikhas left
TheRealkaranohas joined
nikhas joined
suohuahas left
spiralhas joined
pulkomandyhas left
TheRealkaranohas left
pulkomandyhas joined
TheRealkaranohas joined
Wojtekhas left
rubihas joined
antranigvhas joined
marc0shas left
marc0shas joined
moparisthebesthas left
uhas joined
marc0shas left
marc0shas joined
TheRealkaranohas left
atomicwatchhas left
zawarudohas left
antranigvhas left
marc0shas left
marc0shas joined
antranigvhas joined
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
spiralhas left
TheRealkaranohas left
TheRealkaranohas joined
nikhas left
Matrix Traveler (bot)has left
homebeachhas left
homebeachhas joined
Matrix Traveler (bot)has joined
nikhas joined
TheRealkaranohas left
TheRealkaranohas joined
uhas left
spiralhas joined
suohuahas joined
TheRealkaranohas left
TheRealkaranohas joined
inkyhas joined
TheRealkaranohas left
antranigvhas left
TheRealkaranohas joined
suohuahas left
TheRealkaranohas left
antranigvhas joined
TheRealkaranohas joined
spiralhas left
zawarudohas joined
rubihas left
rubihas joined
uhas joined
MSavoritias (fae,ve)has left
kurtainhas left
Alexhas left
TheRealkaranohas left
TheRealkaranohas joined
Alexhas joined
TheRealkaranohas left
TheRealkaranohas joined
MSavoritias (fae,ve)has joined
atomicwatchhas joined
TheRealkaranohas left
TheRealkaranohas joined
zawarudohas left
spiralhas joined
TheRealkaranohas left
TheRealkaranohas joined
MSavoritias (fae,ve)has left
MSavoritias (fae,ve)has joined
rubihas left
rubihas joined
rubihas left
antranigvhas left
rubihas joined
rubihas left
TheRealkaranohas left
TheRealkaranohas joined
rubihas joined
rubihas left
rubihas joined
rubihas left
kurtainhas joined
selurveduhas left
TheRealkaranohas left
rubihas joined
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
Alexhas left
Alexhas joined
TheRealkaranohas left
TheRealkaranohas joined
uhas left
rubihas left
rubihas joined
Alexhas left
Alexhas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
rubihas left
rubihas joined
TheRealkaranohas left
TheRealkaranohas joined
Laurahas left
Laurahas joined
rubihas left
rubihas joined
rubihas left
rubihas joined
antranigvhas joined
rubihas left
raghavgururajanhas joined
Laurahas left
stuart.j.mackintoshhas left
stuart.j.mackintoshhas joined
pulkomandyhas left
pulkomandyhas joined
TheRealkaranohas left
TheRealkaranohas joined
spiralhas left
spiralhas joined
pulkomandyhas left
pulkomandyhas joined
TheRealkaranohas left
suohuahas joined
pulkomandyhas left
nikhas left
nikhas joined
TheRealkaranohas joined
pulkomandyhas joined
antranigvhas left
TheRealkaranohas left
uhas joined
TheRealkaranohas joined
MSavoritias (fae,ve)has left
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
MSavoritias (fae,ve)has joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
spiralhas left
larmahas left
spiralhas joined
rubihas joined
antranigvhas joined
debaclehas left
TheRealkaranohas left
TheRealkaranohas joined
heartyhas left
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
spiralhas left
Alexhas left
Alexhas joined
Laurahas joined
TheRealkaranohas left
TheRealkaranohas joined
nikhas left
nikhas joined
TheRealkaranohas left
TheRealkaranohas joined
spiralhas joined
heartyhas joined
TheRealkaranohas left
TheRealkaranohas joined
xnamedhas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
suohuahas left
TheRealkaranohas left
TheRealkaranohas joined
xnamedhas left
TheRealkaranohas left
TheRealkaranohas joined
adxhas left
xnamedhas joined
TheRealkaranohas left
TheRealkaranohas joined
moparisthebesthas joined
marchas left
marchas joined
jubalhhas left
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
sonnyhas left
TheRealkaranohas left
sonnyhas joined
TheRealkaranohas joined
rubihas left
rubihas joined
rubihas left
rubihas joined
zawarudohas joined
antranigvhas left
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
xeckshas left
xeckshas joined
TheRealkaranohas left
TheRealkaranohas joined
MSavoritias (fae,ve)has left
MSavoritias (fae,ve)has joined
antranigvhas joined
TheRealkaranohas left
TheRealkaranohas joined
sonnyhas left
sonnyhas joined
TheRealkaranohas left
TheRealkaranohas joined
nikhas left
nikhas joined
TheRealkaranohas left
nikhas left
TheRealkaranohas joined
nikhas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
spiralhas left
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
spiralhas joined
TheRealkaranohas left
TheRealkaranohas joined
PapaTutuWawahas left
selurveduhas joined
adxhas joined
PapaTutuWawahas joined
spiralhas left
TheRealkaranohas left
TheRealkaranohas joined
selurveduhas left
TheRealkaranohas left
TheRealkaranohas joined
spiralhas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
xnamedhas left
spiralhas left
TheRealkaranohas left
TheRealkaranohas joined
xnamedhas joined
inkyhas left
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
spiralhas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
kikuchiyohas left
kurtainhas left
TheRealkaranohas left
uhas left
uhas joined
TheRealkaranohas joined
kurtainhas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
spiralhas left
inkyhas joined
nephelehas joined
TheRealkaranohas left
TheRealkaranohas joined
nephelehas left
nephelehas joined
TheRealkaranohas left
TheRealkaranohas joined
nephelehas left
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
xnamedhas left
TheRealkaranohas left
TheRealkaranohas joined
larmahas joined
debaclehas joined
rubihas left
rubihas joined
nephelehas joined
antranigvhas left
TheRealkaranohas left
nephelehas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
uhas left
nephelehas joined
uhas joined
xnamedhas joined
TheRealkaranohas left
TheRealkaranohas joined
nephelehas left
nephelehas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
Yagizаhas left
spiralhas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
nephelehas left
TheRealkaranohas left
Matrix Traveler (bot)has left
homebeachhas left
homebeachhas joined
Matrix Traveler (bot)has joined
TheRealkaranohas joined
jubalhhas joined
Kevhas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
Kevhas left
TheRealkaranohas left
TheRealkaranohas joined
Mx2has left
Mx2has joined
TheRealkaranohas left
TheRealkaranohas joined
marchas left
debaclehas left
debaclehas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
thomaslewishas joined
thomaslewishas left
marchas joined
Matrix Traveler (bot)has left
homebeachhas left
homebeachhas joined
Matrix Traveler (bot)has joined
TheRealkaranohas left
TheRealkaranohas joined
rubihas left
spiralhas left
TheRealkaranohas left
TheRealkaranohas joined
spiralhas joined
TheRealkaranohas left
TheRealkaranohas joined
nicoco_
I am trying to use xep-0172 (user nicknames) and I can't seem to get it right. the context is that I want "puppet JIDs" for a bridge component to be able to set and update their nicknames. how should this be implemented? should I rely on the xmpp server's pubsub component? or should my bridge component act as a pubsub component itself?
Link Mauve
nicoco_, the component should.
jubalhhas left
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
spiralhas left
TheRealkaranohas left
TheRealkaranohas joined
spiralhas joined
TheRealkaranohas left
TheRealkaranohas joined
zawarudohas left
zawarudohas joined
nicoco_
thanks Link Mauve. Does that look good like a good "new nickname" stanza https://paste.sr.ht/~nicoco/fa6310b495528200b667522c132a986f6c179ffd ? clients don't seem to receive anything. I'm having trouble understading the PEP basics
TheRealkaranohas left
TheRealkaranohas joined
nicoco_
I basically just used slixmpp's `xmpp.plugin["xep_0172"].publish_nick(n, ifrom=some_puppet_jid)` but I am probably missing something, probably trivial, to wrap my head around how this all works.
Link Mauve
nicoco_, you should remove the @to.
Link Mauve
Currently it’s the client sending to itself.
Link Mauve
It should send to its account instead.
Link Mauve
As that’s where the PEP service “resides”.
Link Mauve
Ah, but that’s for publishing your own nickname, while you’re actually interested in broadcasting said node’s content to other people.
Link Mauve
Is your component already handling presence subscription properly?
Link Mauve
If so, you should be receiving caps in the presence of users subscribed to your fake accounts. You then query their disco#info from the caps node, and if they have the http://jabber.org/protocol/nick+notify feature in there you send them a PubSub event containing your nickname.
TheRealkaranohas left
TheRealkaranohas joined
nicoco_
I force push puppet jids item into the xmpp user's roster with "subscription": "both", that should work, shouldn't it?
Link Mauve
See example 6 of the XEP (without addresses, no one uses that nowadays).
Link Mauve
nicoco_, if you receive presences from the XMPP user, then yes.
nicoco_
this works, yes
nicoco_
so, example 6, but isn't that something that pubsub.localhost is supposed to send? what the bridge component must "forge and send" is Example 5 isn't it?
Link Mauve
No, it’s the account JID of your fake user which should implement PEP.
Link Mauve
PEP is basically PubSub on a user’s account.
Link Mauve
(It originally was a small subset of PubSub, but implementations kept adding stuff until it required basically full PubSub support.)
miruxhas left
nicoco_
hum ok, so prosody's pubsub.localhost never comes into play?
miruxhas joined
TheRealkaranohas left
kurtainhas left
TheRealkaranohas joined
Mx2has left
rubihas joined
Link Mauve
No, it doesn’t.
TheRealkaranohas left
Mx2has joined
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
nicoco_
oh ok I misunderstood your first answer then.
Link Mauve
My first answer was based on that I thought you wanted to publish the nick, as you originally asked about.
Link Mauve
I didn’t notice you actually want to be a PubSub implementation.
Link Mauve
Possibly just for events for now, so that’s quite simple.
Kevhas joined
nicoco_
great, it seems to work! https://paste.sr.ht/~nicoco/eb3d02e0abe2e3890cd70ae8cc5ba1abeac312cc → gajim and movim both update the puppet nickname. thanks a lot
Link Mauve
:)
Link Mauve
You probably want to make it type="headline" though.
is it going to be similar for xep0084 (avatars), again, nothing to do with the prosody's pubsub component?✎
nicoco_
is it going to be similar for xep0084 (avatars), again, nothing to do with prosody's pubsub component? ✏
thomaslewishas joined
debaclehas left
Kevhas left
spiralhas left
atomicwatchhas left
thomaslewishas left
thomaslewishas joined
spiralhas joined
antranigvhas joined
lovetoxhas left
TheRealkaranohas left
TheRealkaranohas joined
Link Mauve
Yes.
Link Mauve
Except you’re going to have to also handle requests for avatar:data, not just notifications to avatar:metadata+notify.
rubihas left
kurtainhas joined
SouLhas left
lovetoxhas joined
thomaslewishas left
zawarudohas left
TheRealkaranohas left
TheRealkaranohas joined
antranigvhas left
Alexhas left
Alexhas joined
Alexhas left
Alexhas joined
nicoco_
thanks for the clarification, I was reading the XEP again and it seems like it is going to be substiantially more work than the nickname thing. notably I should make sure to base64 encode a png version of the image if I read it correctly.
Mario Sabatinohas left
TheRealkaranohas left
TheRealkaranohas joined
nicoco_
so if I understood correctly, I should send events just like the nickname thing for the avatar hash, and then respond to avatar:data requests with the actual image data
jubalhhas joined
Mx2has left
Alexhas left
Alexhas joined
Mx2has joined
Link Mauve
nicoco_, correct.
Link Mauve
Avatar hash, format, width, height, etc.
uhas left
uhas joined
nicoco_
thanks for your help Link Mauve! slidge migration from 'vcard-temp' to 'user avatar' is not going to happen tonight I fear, but at least now I understand the basics.