From 06482fdaefc2ae8651bcdd719936cb9c7bcfb10f Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Thu, 1 Jul 2021 18:02:03 +0200 Subject: 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 --- src/ui/ui.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ui/ui.h') 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); -- cgit 1.4.1-2-gfad0