summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_account.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2014-08-11 19:45:13 +0000
committerAlexander Lantsev <aunsane@gmail.com>2014-08-11 19:45:13 +0000
commit41ec75629ab19e84dd25a168797afe5fe8c01594 (patch)
tree688a9f1cb8df882de08c3a199aa1bdaf467b2b8b /protocols/Tox/src/tox_account.cpp
parent9f7023fdefc4bbdc888c8bb208bc79bbaa8df225 (diff)
Tox: some of message sending
git-svn-id: http://svn.miranda-ng.org/main/trunk@10158 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_account.cpp')
-rw-r--r--protocols/Tox/src/tox_account.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/protocols/Tox/src/tox_account.cpp b/protocols/Tox/src/tox_account.cpp
index 59edd4ec52..77a8095dd2 100644
--- a/protocols/Tox/src/tox_account.cpp
+++ b/protocols/Tox/src/tox_account.cpp
@@ -1,6 +1,11 @@
#include "common.h"
#include "tox_bootstrap.h"
+bool CToxProto::IsOnline()
+{
+ return isConnected && m_iStatus > ID_STATUS_OFFLINE;
+}
+
void CToxProto::DoBootstrap()
{
static int j = 0;