summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_messages.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-04-14 20:32:40 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-04-14 20:32:40 +0000
commit4d0735ab834be6c541e7e577fbe76c888bf4d09f (patch)
tree8e290ade50e86e7b5f53a2b66bb0f1f2a2119982 /protocols/Tox/src/tox_messages.cpp
parent31ba819bd0994a0a48a174cba37b5985522ff3f8 (diff)
Tox: second approach for audio support
git-svn-id: http://svn.miranda-ng.org/main/trunk@12827 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_messages.cpp')
-rw-r--r--protocols/Tox/src/tox_messages.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Tox/src/tox_messages.cpp b/protocols/Tox/src/tox_messages.cpp
index 60de33d5d9..3a78ff5b76 100644
--- a/protocols/Tox/src/tox_messages.cpp
+++ b/protocols/Tox/src/tox_messages.cpp
@@ -27,7 +27,7 @@ void CToxProto::OnFriendMessage(Tox*, uint32_t friendNumber, TOX_MESSAGE_TYPE ty
recv.timestamp = time(NULL);
recv.szMessage = rawMessage;
recv.lParam = type == TOX_MESSAGE_TYPE_NORMAL
- ? EVENTTYPE_MESSAGE : TOX_DB_EVENT_TYPE_ACTION;
+ ? EVENTTYPE_MESSAGE : DB_EVENT_ACTION;
ProtoChainRecvMsg(hContact, &recv);
@@ -117,7 +117,7 @@ int CToxProto::OnPreCreateMessage(WPARAM, LPARAM lParam)
memcpy(action, &evt->dbei->pBlob[4], evt->dbei->cbBlob);
mir_free(evt->dbei->pBlob);
evt->dbei->pBlob = action;
- evt->dbei->eventType = TOX_DB_EVENT_TYPE_ACTION;
+ evt->dbei->eventType = DB_EVENT_ACTION;
return 0;
}