mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-13 18:25:10 +00:00
[MOD] Basic work to get XMPP avatars through PEP
Attaboy!
This commit is contained in:
parent
f31a9c37b6
commit
e54332e376
13 changed files with 428 additions and 25 deletions
|
|
@ -97,6 +97,17 @@ MessageStanza(ParseeData *args, XMLElement *stanza, XMPPThread *thr)
|
|||
Log(LOG_DEBUG, "<message/> usage=%d (%s:%d)", MemoryAllocated(), __FILE__, __LINE__);
|
||||
return false;
|
||||
}
|
||||
/*{
|
||||
XMLElement *foo = XMLCreateTag("message");
|
||||
XMLElement *body = XMLCreateTag("body");
|
||||
XMLAddAttr(foo, "type", "chat");
|
||||
XMLAddChild(foo, body);
|
||||
XMLAddChild(body, XMLCreateText("Storm on Mt. Ooe (sorry if you see this)"));
|
||||
|
||||
BroadcastStanza(args, HashMapGet(stanza->attrs, "to"), foo);
|
||||
XMLFreeElement(foo);
|
||||
}*/
|
||||
|
||||
|
||||
if (ServerHasXEP421(args, from))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue