summaryrefslogtreecommitdiff
path: root/toxcore/tox.c
diff options
context:
space:
mode:
authorDiadlo <polsha3@gmail.com>2018-02-02 15:00:06 +0300
committerDiadlo <polsha3@gmail.com>2018-02-02 15:00:43 +0300
commit99bfb9a4f2b15d3b5a9fe3878df2eb5e55c428aa (patch)
tree2954ae5e3b327d93343a082e869e9f159f2d0c08 /toxcore/tox.c
parent83779a21eaf19bbf6aa5d61d8f59681a306e4f65 (diff)
Revert "Add correction message type"
This reverts commit e16d3894c5979fcfe1c57bf7dadc455ce690baf9 and commit c5976e37eaadf663dc3d0c18376ea023355048f3.
Diffstat (limited to 'toxcore/tox.c')
-rw-r--r--toxcore/tox.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/toxcore/tox.c b/toxcore/tox.c
index 7dd4a7b5..c3bcb652 100644
--- a/toxcore/tox.c
+++ b/toxcore/tox.c
@@ -1300,10 +1300,8 @@ 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 if (type == TOX_MESSAGE_TYPE_ACTION) { 1303 } else {
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);
1307 } 1305 }
1308 1306
1309 switch (ret) { 1307 switch (ret) {