mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-13 21:15:11 +00:00
[FIX/ADD] Fix deadlock and DMs.
This commit is contained in:
parent
c5df636bdb
commit
59d5ad6780
7 changed files with 57 additions and 34 deletions
|
|
@ -196,7 +196,7 @@ XMPPKillThread(XMPPComponent *jabber, char *killer)
|
|||
return;
|
||||
}
|
||||
|
||||
pthread_mutex_lock(&jabber->write_lock);
|
||||
//pthread_mutex_lock(&jabber->write_lock);
|
||||
|
||||
from = StrConcat(3, killer, "@", jabber->host);
|
||||
message = XMLCreateTag("message");
|
||||
|
|
@ -211,7 +211,7 @@ XMPPKillThread(XMPPComponent *jabber, char *killer)
|
|||
XMLFreeElement(message);
|
||||
Free(from);
|
||||
|
||||
pthread_mutex_unlock(&jabber->write_lock);
|
||||
//pthread_mutex_unlock(&jabber->write_lock);
|
||||
}
|
||||
bool
|
||||
XMPPIsKiller(XMLElement *stanza)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue