mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-13 21:35:10 +00:00
[MOD] Add CHANGELOG, start PEPing
This commit is contained in:
parent
420c05690f
commit
f666f39b7c
7 changed files with 62 additions and 22 deletions
|
|
@ -57,7 +57,7 @@ GuessStatus(XMLElement *stanza)
|
|||
return USER_STATUS_ONLINE;
|
||||
}
|
||||
void
|
||||
PresenceStanza(ParseeData *args, XMLElement *stanza)
|
||||
PresenceStanza(ParseeData *args, XMLElement *stanza, XMPPThread *thr)
|
||||
{
|
||||
#define MUC_USER_NS "http://jabber.org/protocol/muc#user"
|
||||
XMLElement *user_info;
|
||||
|
|
@ -66,6 +66,11 @@ PresenceStanza(ParseeData *args, XMLElement *stanza)
|
|||
|
||||
char *oid = HashMapGet(stanza->attrs, "from");
|
||||
|
||||
if (PEPManagerHandle(thr->info->pep_manager, stanza))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (ServerHasXEP421(args, oid))
|
||||
{
|
||||
XMLElement *occupant = XMLookForTKV(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue