about summary refs log tree commit diff stats
path: root/src/otr
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2020-03-28 00:04:41 +0100
committerMichael Vetter <jubalh@iodoru.org>2020-04-06 10:50:20 +0200
commita4b53550ca302d7dab579585ac1aa5390880705c (patch)
tree71f7bfa9365612a52576b5af648ff095330658a7 /src/otr
parentaf2630a289cfd06c41614fd5eca5d2846adaefaa (diff)
downloadprofani-tty-a4b53550ca302d7dab579585ac1aa5390880705c.tar.gz
Rename PROF_MSG_ENC_PLAIN to PROF_MSG_ENC_NONE
Diffstat (limited to 'src/otr')
-rw-r--r--src/otr/otr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/otr/otr.c b/src/otr/otr.c
index c32e708e..ceef72fe 100644
--- a/src/otr/otr.c
+++ b/src/otr/otr.c
@@ -368,7 +368,7 @@ otr_on_message_send(ProfChatWin *chatwin, const char *const message, gboolean re
     if (policy == PROF_OTRPOLICY_OPPORTUNISTIC) {
         char *otr_tagged_msg = otr_tag_message(message);
         id = message_send_chat_otr(chatwin->barejid, otr_tagged_msg, request_receipt, replace_id);
-        chatwin_outgoing_msg(chatwin, message, id, PROF_MSG_ENC_PLAIN, request_receipt, replace_id);
+        chatwin_outgoing_msg(chatwin, message, id, PROF_MSG_ENC_NONE, request_receipt, replace_id);
         chat_log_msg_out(chatwin->barejid, message, NULL);
         free(otr_tagged_msg);
         free(id);