diff options
Diffstat (limited to 'protocols/Discord')
-rw-r--r-- | protocols/Discord/src/proto.h | 8 | ||||
-rw-r--r-- | protocols/Discord/src/voice.cpp | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/protocols/Discord/src/proto.h b/protocols/Discord/src/proto.h index 8a4301fcad..13c920be77 100644 --- a/protocols/Discord/src/proto.h +++ b/protocols/Discord/src/proto.h @@ -260,10 +260,10 @@ class CDiscordProto : public PROTO<CDiscordProto> CMOption<wchar_t*> m_wszEmail; // my own email CMOption<wchar_t*> m_wszDefaultGroup; // clist group to store contacts - CMOption<BYTE> m_bUseGroupchats; // Shall we connect Guilds at all? - CMOption<BYTE> m_bHideGroupchats; // Do not open chat windows on creation - CMOption<BYTE> m_bUseGuildGroups; // use special subgroups for guilds - CMOption<BYTE> m_bSyncDeleteMsgs; // delete messages from Miranda if they are deleted at the server + CMOption<uint8_t> m_bUseGroupchats; // Shall we connect Guilds at all? + CMOption<uint8_t> m_bHideGroupchats; // Do not open chat windows on creation + CMOption<uint8_t> m_bUseGuildGroups; // use special subgroups for guilds + CMOption<uint8_t> m_bSyncDeleteMsgs; // delete messages from Miranda if they are deleted at the server ////////////////////////////////////////////////////////////////////////////////////// // common data diff --git a/protocols/Discord/src/voice.cpp b/protocols/Discord/src/voice.cpp index 7422d15aa8..723376091e 100644 --- a/protocols/Discord/src/voice.cpp +++ b/protocols/Discord/src/voice.cpp @@ -42,7 +42,7 @@ void CDiscordProto::OnCommandCallCreated(const JSONNode &pRoot) dbei.timestamp = pCall->startTime; dbei.eventType = EVENT_INCOMING_CALL; dbei.cbBlob = DWORD(mir_strlen(szMessage) + 1); - dbei.pBlob = (BYTE *)szMessage; + dbei.pBlob = (uint8_t *)szMessage; dbei.flags = DBEF_UTF; db_event_add(pUser->hContact, &dbei); } @@ -76,7 +76,7 @@ void CDiscordProto::OnCommandCallDeleted(const JSONNode &pRoot) dbei.timestamp = currTime; dbei.eventType = EVENT_CALL_FINISHED; dbei.cbBlob = DWORD(szMessage.GetLength() + 1); - dbei.pBlob = (BYTE *)szMessage.c_str(); + dbei.pBlob = (uint8_t *)szMessage.c_str(); dbei.flags = DBEF_UTF; db_event_add(pUser->hContact, &dbei); } |