about summary refs log tree commit diff stats
path: root/src/config/preferences.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/config/preferences.c')
-rw-r--r--src/config/preferences.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/config/preferences.c b/src/config/preferences.c
index 7b261c2c..1a01ab66 100644
--- a/src/config/preferences.c
+++ b/src/config/preferences.c
@@ -1817,6 +1817,8 @@ _get_group(preference_t pref)
     case PREF_TITLEBAR_MUC_TITLE_NAME:
     case PREF_SLASH_GUARD:
     case PREF_COMPOSE_EDITOR:
+    case PREF_OUTGOING_STAMP:
+    case PREF_INCOMING_STAMP:
         return PREF_GROUP_UI;
     case PREF_STATES:
     case PREF_OUTTYPE:
@@ -2147,6 +2149,10 @@ _get_key(preference_t pref)
         return "compose.editor";
     case PREF_SILENCE_NON_ROSTER:
         return "silence.incoming.nonroster";
+    case PREF_OUTGOING_STAMP:
+        return "stamp.outgoing";
+    case PREF_INCOMING_STAMP:
+        return "stamp.incoming";
     default:
         return NULL;
     }
@@ -2285,6 +2291,10 @@ _get_default_string(preference_t pref)
         gchar* editor = getenv("EDITOR");
         return editor ? editor : "vim";
     }
+    case PREF_OUTGOING_STAMP:
+        return "me:";
+    case PREF_INCOMING_STAMP:
+        return NULL;
     case PREF_URL_SAVE_CMD:
         return NULL; // Default to built-in method.
     default: