aboutsummaryrefslogtreecommitdiff
path: root/src/event.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/event.c')
-rw-r--r--src/event.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/event.c b/src/event.c
index 9269b9b..c1f7502 100644
--- a/src/event.c
+++ b/src/event.c
@@ -53,6 +53,9 @@ _show_notification(MESSENGER_Application *app,
53 const gchar *text, 53 const gchar *text,
54 const gchar *icon) 54 const gchar *icon)
55{ 55{
56 if (app->settings.disable_notifications)
57 return;
58
56 const char *sender = GNUNET_CHAT_contact_get_name(contact); 59 const char *sender = GNUNET_CHAT_contact_get_name(contact);
57 60
58 NotifyNotification *notification = notify_notification_new( 61 NotifyNotification *notification = notify_notification_new(