From 99bfb9a4f2b15d3b5a9fe3878df2eb5e55c428aa Mon Sep 17 00:00:00 2001 From: Diadlo Date: Fri, 2 Feb 2018 15:00:06 +0300 Subject: Revert "Add correction message type" This reverts commit e16d3894c5979fcfe1c57bf7dadc455ce690baf9 and commit c5976e37eaadf663dc3d0c18376ea023355048f3. --- toxcore/tox.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'toxcore/tox.c') 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 if (type == TOX_MESSAGE_TYPE_NORMAL) { ret = group_message_send((Group_Chats *)m->conferences_object, conference_number, message, length); - } else if (type == TOX_MESSAGE_TYPE_ACTION) { + } else { ret = group_action_send((Group_Chats *)m->conferences_object, conference_number, message, length); - } else if (type == TOX_MESSAGE_TYPE_CORRECTION) { - ret = group_correction_send((Group_Chats *)m->conferences_object, conference_number, message, length); } switch (ret) { -- cgit v1.2.3