From ce81ef7cf7cea2fe2091912c9eafe787cbba6100 Mon Sep 17 00:00:00 2001 From: Green Sky Date: Mon, 11 Mar 2024 11:45:40 +0100 Subject: [PATCH] toxcore update --- solanaceae/tox_messages/tox_message_manager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/solanaceae/tox_messages/tox_message_manager.cpp b/solanaceae/tox_messages/tox_message_manager.cpp index addb685..678bae3 100644 --- a/solanaceae/tox_messages/tox_message_manager.cpp +++ b/solanaceae/tox_messages/tox_message_manager.cpp @@ -266,7 +266,7 @@ bool ToxMessageManager::onToxEvent(const Tox_Event_Group_Message* e) { const uint32_t group_number = tox_event_group_message_get_group_number(e); const uint32_t peer_number = tox_event_group_message_get_peer_id(e); const uint32_t message_id = tox_event_group_message_get_message_id(e); - const Tox_Message_Type type = tox_event_group_message_get_type(e); + const Tox_Message_Type type = tox_event_group_message_get_message_type(e); const uint64_t ts = Message::getTimeMS(); @@ -321,7 +321,7 @@ bool ToxMessageManager::onToxEvent(const Tox_Event_Group_Message* e) { bool ToxMessageManager::onToxEvent(const Tox_Event_Group_Private_Message* e) { const uint32_t group_number = tox_event_group_private_message_get_group_number(e); const uint32_t peer_number = tox_event_group_private_message_get_peer_id(e); - const Tox_Message_Type type = tox_event_group_private_message_get_type(e); + const Tox_Message_Type type = tox_event_group_private_message_get_message_type(e); const uint64_t ts = Message::getTimeMS();