diff options
author | aunsane <aunsane@gmail.com> | 2017-12-30 00:46:19 +0300 |
---|---|---|
committer | aunsane <aunsane@gmail.com> | 2017-12-30 00:46:19 +0300 |
commit | 77ccb3558c67c83bd0ce5136b785467ef2697911 (patch) | |
tree | 6722366fb5b7b827355e608bd75b1a921530f1c8 /protocols/Tox/src/tox_proto.cpp | |
parent | cc65f8dbead036bfdd29d397195f9152839d4919 (diff) |
Tox: removed own realization of SetAllContactStatus
Diffstat (limited to 'protocols/Tox/src/tox_proto.cpp')
-rw-r--r-- | protocols/Tox/src/tox_proto.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Tox/src/tox_proto.cpp b/protocols/Tox/src/tox_proto.cpp index 60864594e7..237fee5be0 100644 --- a/protocols/Tox/src/tox_proto.cpp +++ b/protocols/Tox/src/tox_proto.cpp @@ -16,7 +16,7 @@ CToxProto::CToxProto(const char* protoName, const wchar_t* userName) CreateProtoService(PS_CREATEACCMGRUI, &CToxProto::OnAccountManagerInit);
- SetAllContactsStatus(ID_STATUS_OFFLINE);
+ setAllContactStatuses(ID_STATUS_OFFLINE);
// avatars
CreateProtoService(PS_GETAVATARCAPS, &CToxProto::GetAvatarCaps);
@@ -149,7 +149,7 @@ int CToxProto::SetStatus(int iNewStatus) SetEvent(hTerminateEvent);
if (!Miranda_IsTerminated())
- SetAllContactsStatus(ID_STATUS_OFFLINE);
+ setAllContactStatuses(ID_STATUS_OFFLINE);
m_iStatus = m_iDesiredStatus = ID_STATUS_OFFLINE;
ProtoBroadcastAck(NULL, ACKTYPE_STATUS, ACKRESULT_SUCCESS, (HANDLE)old_status, m_iStatus);
|