mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-13 14:05:10 +00:00
[FIX/WIP] Unique redactions for moderation stanzas
Also, I'll consider Parsee dev to be dead until July 2026. J'ai le bac et déja un projet à faire, et si je peux même pas me concentrer sur mon futur en ne comptant pas Parsee. Feel free to make a good XMPP bridge, I don't really even want to touch either Matrix or XMPP anymore, you know?
This commit is contained in:
parent
e3749817d3
commit
e617b5e8d4
1 changed files with 1 additions and 1 deletions
|
|
@ -277,7 +277,7 @@ end_error:
|
||||||
Log(LOG_DEBUG, "Error management: %fs", Elapsed(rectime));
|
Log(LOG_DEBUG, "Error management: %fs", Elapsed(rectime));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (moderated)
|
if (moderated && !(!chat && strncmp(HashMapGet(stanza->attrs, "to"), "parsee@", 7)))
|
||||||
{
|
{
|
||||||
/* TODO: Parsee MUST check if it is a valid MUC */
|
/* TODO: Parsee MUST check if it is a valid MUC */
|
||||||
char *resource = ParseeGetResource(from);
|
char *resource = ParseeGetResource(from);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue