summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_events.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Tox/src/tox_events.cpp')
-rw-r--r--protocols/Tox/src/tox_events.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/protocols/Tox/src/tox_events.cpp b/protocols/Tox/src/tox_events.cpp
index dc45cb34a6..550cdd2999 100644
--- a/protocols/Tox/src/tox_events.cpp
+++ b/protocols/Tox/src/tox_events.cpp
@@ -1,22 +1,5 @@
#include "common.h"
-void CToxProto::PollingThread(void*)
-{
- debugLogA("CToxProto::PollingThread: entering");
- while (!isTerminated)
- {
- uint32_t interval = 1000;
- {
- //mir_cslock lock(tox_lock);
-
- tox_do(tox);
- interval = tox_do_interval(tox);
- }
- Sleep(interval);
- }
- debugLogA("CToxProto::PollingThread: leaving");
-}
-
void CToxProto::OnFriendRequest(Tox *tox, const uint8_t *userId, const uint8_t *message, const uint16_t messageSize, void *arg)
{
}