[FIX] Do not listen for kick requests

They may be sent for scenarios where an unlink is NOT wanted.
This commit is contained in:
LDA 2024-10-05 09:20:49 +02:00
commit 179fd405db
2 changed files with 2 additions and 3 deletions

View file

@ -21,7 +21,7 @@ bit.
- Start dealing with some basic PEP and vCard-based avatars.
- Allows experimental MbedTLS through a specific Cytoplasm
patch.
- Kicking/Banning Parsee from XMPP effectively unlinks it.
- Banning Parsee from a XMPP MUC effectively unlinks it.
- Start adding basic documentation to Parsee
- Add MUC whitelists for plumbing, alongside a `whitelist` tool

View file

@ -212,8 +212,7 @@ PresenceStanza(ParseeData *args, XMLElement *stanza, XMPPThread *thr)
}
}
if (StrEquals(type, "unavailable") &&
StrEquals(dst, parsee_j) &&
(IsStatus(301) || IsStatus(307)))
StrEquals(dst, parsee_j) && IsStatus(301))
{
char *chat_id = ParseeGetFromRoomID(args, room);