summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_messages.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Tox/src/tox_messages.cpp')
-rw-r--r--protocols/Tox/src/tox_messages.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/protocols/Tox/src/tox_messages.cpp b/protocols/Tox/src/tox_messages.cpp
index a44c1084de..c2c409c3e2 100644
--- a/protocols/Tox/src/tox_messages.cpp
+++ b/protocols/Tox/src/tox_messages.cpp
@@ -42,6 +42,8 @@ struct SendMessageParam
void CToxProto::SendMessageAsync(void *arg)
{
+ Thread_SetName("TOX: SendMessageAsync");
+
SendMessageParam *param = (SendMessageParam*)arg;
int32_t friendNumber = GetToxFriendNumber(param->hContact);
@@ -129,6 +131,8 @@ int CToxProto::OnPreCreateMessage(WPARAM, LPARAM lParam)
/* STATUS MESSAGE */
void CToxProto::GetStatusMessageAsync(void* arg)
{
+ Thread_SetName("TOX: GetStatusMessageAsync");
+
MCONTACT hContact = (UINT_PTR)arg;
int32_t friendNumber = GetToxFriendNumber(hContact);