about summary refs log tree commit diff stats
path: root/src/ui/ui.h
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2021-07-01 18:02:03 +0200
committerMichael Vetter <jubalh@iodoru.org>2021-07-01 18:02:03 +0200
commit06482fdaefc2ae8651bcdd719936cb9c7bcfb10f (patch)
tree3b2e577ff352dadaf8827539b64e60b039a560e0 /src/ui/ui.h
parent226cffe75be5d408e1d357337eb4ed921100f3b7 (diff)
downloadprofani-tty-06482fdaefc2ae8651bcdd719936cb9c7bcfb10f.tar.gz
Add option to only allow messages from jids in roster
`/silence on` will throw away all messages (type: chat, normal) that
come from jids that are not in the roster.

Implement https://github.com/profanity-im/profanity/issues/955
Diffstat (limited to 'src/ui/ui.h')
-rw-r--r--src/ui/ui.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/ui.h b/src/ui/ui.h
index 441c9adf..dc2fc497 100644
--- a/src/ui/ui.h
+++ b/src/ui/ui.h
@@ -328,6 +328,7 @@ void cons_correction_setting(void);
 void cons_executable_setting(void);
 void cons_slashguard_setting(void);
 void cons_mam_setting(void);
+void cons_silence_setting(void);
 void cons_show_contact_online(PContact contact, Resource* resource, GDateTime* last_activity);
 void cons_show_contact_offline(PContact contact, char* resource, char* status);
 void cons_theme_properties(void);