summaryrefslogtreecommitdiff
path: root/toxcore/tox.c
diff options
context:
space:
mode:
authorDiadlo <polsha3@gmail.com>2018-01-20 14:05:38 +0300
committeriphydf <iphydf@users.noreply.github.com>2018-01-20 14:10:48 +0000
commitc5976e37eaadf663dc3d0c18376ea023355048f3 (patch)
treea47718e8b925ffcfee34fe6959fb39e370ddb5a6 /toxcore/tox.c
parentb030b4d8c033363692f52f2574b19dadc6d9527f (diff)
Add correction support for conference
Fix #704
Diffstat (limited to 'toxcore/tox.c')
-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) {