summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--toxcore/tox.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/toxcore/tox.c b/toxcore/tox.c
index a1f850d1..11967f84 100644
--- a/toxcore/tox.c
+++ b/toxcore/tox.c
@@ -1300,8 +1300,10 @@ bool tox_conference_send_message(Tox *tox, uint32_t conference_number, TOX_MESSA
1300 1300
1301 if (type == TOX_MESSAGE_TYPE_NORMAL) { 1301 if (type == TOX_MESSAGE_TYPE_NORMAL) {
1302 ret = group_message_send((Group_Chats *)m->conferences_object, conference_number, message, length); 1302 ret = group_message_send((Group_Chats *)m->conferences_object, conference_number, message, length);
1303 } else { 1303 } else if (type == TOX_MESSAGE_TYPE_ACTION) {
1304 ret = group_action_send((Group_Chats *)m->conferences_object, conference_number, message, length); 1304 ret = group_action_send((Group_Chats *)m->conferences_object, conference_number, message, length);
1305 } else if (type == TOX_MESSAGE_TYPE_CORRECTION) {
1306 ret = group_correction_send((Group_Chats *)m->conferences_object, conference_number, message, length);
1305 } 1307 }
1306 1308
1307 switch (ret) { 1309 switch (ret) {