-
edhelas
Yes
-
lol
randomly this group's avatar disappears. I thouht it was my homebrew client's bug but hey this also happens on Dino I noticed. So on the bright side my client doesn't have a bug.✎ -
nicoco
> oh that's huge, a quick skim of the latter suggests it handles hats exactly as i expected, as well as a few other things i was thinking about :O FYI the author of this draft does not want to be involved with XSF anymore and does not mind anybody taking ownership and submitting it, last time I talked to him about that. I don't want to do it since I'm already in over my hand with what I submitted so far and have been delaying writing a new "gateway interaction" XEP for too longβ¦ ↺
-
lol
randomly this group's avatar disappears. I thouht it was my homebrew client's bug but hey this also happens on Dino I noticed. So on the bright side it's not my client that has the bug. ✏
-
nicoco
lol: might be https://issues.prosody.im/1922 if it runs prosody < 13.0.3 I guess
-
jjj333_p (any pronouns)
okay im looking into parsing for moderations, https://xmpp.org/extensions/xep-0425.html#usecase-success implies that the moderated stanza will include a by atribute, however when comparing to what i recieve when redacting from gajim i get no by element on the moderated stanza, but instead it also contains what seems to be a retraction with the by? im so confused how i would parse for the responsible moderator example xml: ```xml <message from="chaos@group.pain.agency" type="groupchat" id="j48ND8rQp3q11naJvgnZlEA1" to="urban_envs.net@koishi.pain.agency"> <apply-to xmlns="urn:xmpp:fasten:0" id="019c88ef-61b5-70a1-982e-2a1affed9e40"> <moderated xmlns="urn:xmpp:message-moderate:0" by="chaos@group.pain.agency/m0rph"> <occupant-id xmlns="urn:xmpp:occupant-id:0" id="5+SVWYtKhNCuKF12Vt8gILsLFG1oTtPL5OvfplZP3X0="/> <retract xmlns="urn:xmpp:message-retract:0"/> <reason>Spam</reason> </moderated> </apply-to> <occupant-id xmlns="urn:xmpp:occupant-id:0" id="fIJ0LFEqnN+NcZJfKnoY2/PRBsMwBFtS1QfzBDzPMZU="/> <retract xmlns="urn:xmpp:message-retract:1" id="019c88ef-61b5-70a1-982e-2a1affed9e40"> <moderated xmlns="urn:xmpp:message-moderate:1"> <occupant-id xmlns="urn:xmpp:occupant-id:0" id="5+SVWYtKhNCuKF12Vt8gILsLFG1oTtPL5OvfplZP3X0="/> </moderated> <reason>Spam</reason> </retract> <stanza-id xmlns="urn:xmpp:sid:0" by="chaos@group.pain.agency" id="019c88fd-3b8d-7d26-b67e-dc5ad948f1d2"/> </message> ```✎ -
jjj333_p (any pronouns)
okay im looking into parsing for moderations, https://xmpp.org/extensions/xep-0425.html#usecase-success implies that the moderated stanza will include a by atribute, however when comparing to what i recieve when redacting from gajim i get no by element on the moderated stanza, but instead it also contains what seems to be a message fastening with the by? im so confused how i would parse for the responsible moderator example xml: ```xml <message from="chaos@group.pain.agency" type="groupchat" id="j48ND8rQp3q11naJvgnZlEA1" to="urban_envs.net@koishi.pain.agency"> <apply-to xmlns="urn:xmpp:fasten:0" id="019c88ef-61b5-70a1-982e-2a1affed9e40"> <moderated xmlns="urn:xmpp:message-moderate:0" by="chaos@group.pain.agency/m0rph"> <occupant-id xmlns="urn:xmpp:occupant-id:0" id="5+SVWYtKhNCuKF12Vt8gILsLFG1oTtPL5OvfplZP3X0="/> <retract xmlns="urn:xmpp:message-retract:0"/> <reason>Spam</reason> </moderated> </apply-to> <occupant-id xmlns="urn:xmpp:occupant-id:0" id="fIJ0LFEqnN+NcZJfKnoY2/PRBsMwBFtS1QfzBDzPMZU="/> <retract xmlns="urn:xmpp:message-retract:1" id="019c88ef-61b5-70a1-982e-2a1affed9e40"> <moderated xmlns="urn:xmpp:message-moderate:1"> <occupant-id xmlns="urn:xmpp:occupant-id:0" id="5+SVWYtKhNCuKF12Vt8gILsLFG1oTtPL5OvfplZP3X0="/> </moderated> <reason>Spam</reason> </retract> <stanza-id xmlns="urn:xmpp:sid:0" by="chaos@group.pain.agency" id="019c88fd-3b8d-7d26-b67e-dc5ad948f1d2"/> </message> ``` ✏
-
jjj333_p (any pronouns)
slixmpp seems to pick up the moderation but not the fastening, and not the reason of the moderation
-
jjj333_p (any pronouns)
https://downloadable.pain.agency/file_share/019c8976-5093-75d4-a061-de998e53b221/781d207c-0ada-40ad-b896-811284840677.png
-
jjj333_p (any pronouns)
actually slixmpp doesnt seem to even have a way to capture the id im moderating
-
nicoco
fastening is abandoned
-
nicoco
maybe slixmpp has not been updated to reflect that, current XEP-0425 does not depending on fastening anymore, it has a new syntax
-
jjj333_p (any pronouns)
sorry i brought the lack of parsing to the slixmpp chat.
-
jjj333_p (any pronouns)
> okay im looking into parsing for moderations, https://xmpp.org/extensions/xep-0425.html#usecase-success implies that the moderated stanza will include a by atribute, however when comparing to what i recieve when redacting from gajim i get no by element on the moderated stanza, but instead it also contains what seems to be a message fastening with the by? im so confused how i would parse for the responsible moderator > example xml: > ```xml > <message from="chaos@group.pain.agency" type="groupchat" id="j48ND8rQp3q11naJvgnZlEA1" to="urban_envs.net@koishi.pain.agency"> > <apply-to xmlns="urn:xmpp:fasten:0" id="019c88ef-61b5-70a1-982e-2a1affed9e40"> > <moderated xmlns="urn:xmpp:message-moderate:0" by="chaos@group.pain.agency/m0rph"> > <occupant-id xmlns="urn:xmpp:occupant-id:0" id="5+SVWYtKhNCuKF12Vt8gILsLFG1oTtPL5OvfplZP3X0="/> > <retract xmlns="urn:xmpp:message-retract:0"/> > <reason>Spam</reason> > </moderated> > </apply-to> > <occupant-id xmlns="urn:xmpp:occupant-id:0" id="fIJ0LFEqnN+NcZJfKnoY2/PRBsMwBFtS1QfzBDzPMZU="/> > <retract xmlns="urn:xmpp:message-retract:1" id="019c88ef-61b5-70a1-982e-2a1affed9e40"> > <moderated xmlns="urn:xmpp:message-moderate:1"> > <occupant-id xmlns="urn:xmpp:occupant-id:0" id="5+SVWYtKhNCuKF12Vt8gILsLFG1oTtPL5OvfplZP3X0="/> > </moderated> > <reason>Spam</reason> > </retract> > <stanza-id xmlns="urn:xmpp:sid:0" by="chaos@group.pain.agency" id="019c88fd-3b8d-7d26-b67e-dc5ad948f1d2"/> > </message> > ``` this xml was the debug log though, unparsed, so idk why theres no by= ↺
-
jjj333_p (any pronouns)
and i guess prosody is just sending the fastening anyways?
-
nicoco
π 1I think you can ignore the fastening part, and that prosody let that payload for compatibility reasons✎ -
nicoco
I think you can ignore the fastening part, and that prosody kept that payload for compatibility reasons ✏
-
lovetox
jjj333_p (any pronouns): you need only to look at the namespace you want to implement
π 1 -
lovetox
I would not recommend to implement moderate:0
π 1 -
mathieui
π 1jjj333_p (any pronouns), slixmpp is picking up urn:xmpp:message-retract:1 / moderate:0 which is the current version and not the fastening-based one, which looks correct✎ -
lovetox
But we are at moderate:1
-
mathieui
jjj333_p (any pronouns), slixmpp is picking up urn:xmpp:message-retract:1 / moderate:1 which is the current version and not the fastening-based one, which looks correct ✏
-
mathieui
lovetox, yes, I made a typo
-
MattJ
It looks like 'by' is optional, and the occupant-id of the actor is included anyway, which seems better to use
π 1 -
jjj333_p (any pronouns)
> the occupant-id of the actor is included anyway, which seems better to use fair, just a bit more annoying for this use case