about summary refs log tree commit diff stats
path: root/src/xmpp
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/xmpp
parentaf2630a289cfd06c41614fd5eca5d2846adaefaa (diff)
downloadprofani-tty-a4b53550ca302d7dab579585ac1aa5390880705c.tar.gz
Rename PROF_MSG_ENC_PLAIN to PROF_MSG_ENC_NONE
Diffstat (limited to 'src/xmpp')
-rw-r--r--src/xmpp/message.c2
-rw-r--r--src/xmpp/xmpp.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/xmpp/message.c b/src/xmpp/message.c
index d116b8da..5f3b65ac 100644
--- a/src/xmpp/message.c
+++ b/src/xmpp/message.c
@@ -192,7 +192,7 @@ message_init(void)
     message->body = NULL;
     message->encrypted = NULL;
     message->plain = NULL;
-    message->enc = PROF_MSG_ENC_PLAIN;
+    message->enc = PROF_MSG_ENC_NONE;
     message->timestamp = NULL;
     message->trusted = true;
     message->mucuser = false;
diff --git a/src/xmpp/xmpp.h b/src/xmpp/xmpp.h
index 85c49e03..fff2164f 100644
--- a/src/xmpp/xmpp.h
+++ b/src/xmpp/xmpp.h
@@ -120,7 +120,7 @@ typedef struct disco_item_t {
 } DiscoItem;
 
 typedef enum {
-    PROF_MSG_ENC_PLAIN,
+    PROF_MSG_ENC_NONE,
     PROF_MSG_ENC_OTR,
     PROF_MSG_ENC_PGP,
     PROF_MSG_ENC_OMEMO