mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-13 21:25:11 +00:00
[MOD] Make functions for creating a "killer stanza"
Cleaning up the mop...
This commit is contained in:
parent
14ebef53ce
commit
e089cea02a
4 changed files with 46 additions and 16 deletions
|
|
@ -35,8 +35,7 @@ ParseeXMPPThread(void *argp)
|
|||
if (StrEquals(stanza->name, "message"))
|
||||
{
|
||||
size_t i;
|
||||
if (StrEquals(HashMapGet(stanza->attrs, "from"),
|
||||
HashMapGet(stanza->attrs, "to")))
|
||||
if (XMPPIsKiller(stanza))
|
||||
{
|
||||
/* There's not a lot of scenarios where we loopback */
|
||||
Log(LOG_INFO, "Dropping thread...");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue