about summary refs log tree commit diff stats
path: root/src/config
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2020-04-25 17:13:22 +0200
committerMichael Vetter <jubalh@iodoru.org>2020-04-25 17:19:02 +0200
commit85520ecdc5d2e6ac6654817572b8fd99e43e25d9 (patch)
tree6837c17e9a762cf0f11d06ffd9b15a9ce6a34b48 /src/config
parent570863df1b84f022f21f868dbdc4d2b42aebe914 (diff)
downloadprofani-tty-85520ecdc5d2e6ac6654817572b8fd99e43e25d9.tar.gz
Remove unanimous MAM display
For some time users could choose to have the old way "unanimous" where
all the MUC history is just grey (or whatever was set). Now it is always
just displayed like regular new incoming MUC text.
Diffstat (limited to 'src/config')
-rw-r--r--src/config/preferences.c5
-rw-r--r--src/config/preferences.h1
2 files changed, 0 insertions, 6 deletions
diff --git a/src/config/preferences.c b/src/config/preferences.c
index 0ec5a0c0..9a2105c0 100644
--- a/src/config/preferences.c
+++ b/src/config/preferences.c
@@ -1755,7 +1755,6 @@ _get_group(preference_t pref)
         case PREF_STATUSBAR_ROOM:
         case PREF_TITLEBAR_MUC_TITLE_JID:
         case PREF_TITLEBAR_MUC_TITLE_NAME:
-        case PREF_HISTORY_COLOR_MUC:
         case PREF_SLASH_GUARD:
             return PREF_GROUP_UI;
         case PREF_STATES:
@@ -2065,8 +2064,6 @@ _get_key(preference_t pref)
             return "sendfile";
         case PREF_CORRECTION_ALLOW:
             return "correction.allow";
-        case PREF_HISTORY_COLOR_MUC:
-            return "history.muc.color";
         case PREF_AVATAR_CMD:
             return "avatar.cmd";
         case PREF_SLASH_GUARD:
@@ -2207,8 +2204,6 @@ _get_default_string(preference_t pref)
             return "automatic";
         case PREF_COLOR_NICK:
             return "false";
-        case PREF_HISTORY_COLOR_MUC:
-            return "unanimous";
         case PREF_AVATAR_CMD:
             return "xdg-open";
         default:
diff --git a/src/config/preferences.h b/src/config/preferences.h
index f3c32ebd..7d651ac3 100644
--- a/src/config/preferences.h
+++ b/src/config/preferences.h
@@ -167,7 +167,6 @@ typedef enum {
     PREF_OMEMO_SENDFILE,
     PREF_OCCUPANTS_WRAP,
     PREF_CORRECTION_ALLOW,
-    PREF_HISTORY_COLOR_MUC,
     PREF_AVATAR_CMD,
     PREF_SLASH_GUARD,
     PREF_MAM,