summaryrefslogtreecommitdiff
path: root/protocols/Discord/src/utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Discord/src/utils.cpp')
-rw-r--r--protocols/Discord/src/utils.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/protocols/Discord/src/utils.cpp b/protocols/Discord/src/utils.cpp
index 0b37e53167..6e6d9700a7 100644
--- a/protocols/Discord/src/utils.cpp
+++ b/protocols/Discord/src/utils.cpp
@@ -17,16 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "stdafx.h"
-void CDiscordProto::SetAllContactStatuses(int status)
-{
- for (MCONTACT hContact = db_find_first(m_szModuleName); hContact; hContact = db_find_next(hContact, m_szModuleName)) {
- if (!getByte(hContact, "ChatRoom"))
- setWord(hContact, "Status", (WORD)status);
- else if (status == ID_STATUS_OFFLINE)
- Chat_Terminate(m_szModuleName, ptrW(getWStringA(hContact, "ChatRoomID")));
- }
-}
-
int StrToStatus(const CMStringW &str)
{
if (str == L"idle")