Skip to content
Snippets Groups Projects
Commit 9e362f9d authored by Alexandre Savard's avatar Alexandre Savard
Browse files

[#3963] Do not display incoming messages if instant messaging is disabled

parent 874669a5
No related merge requests found
......@@ -127,6 +127,12 @@ incoming_message_cb (DBusGProxy *proxy UNUSED, const gchar* callID UNUSED, const
callable_obj_t *call = NULL;
conference_obj_t *conf = NULL;
// do not display message if instant messaging is disabled
gboolean instant_messaging_enabled = eel_gconf_get_integer (INSTANT_MESSAGING_ENABLED);
if (!instant_messaging_enabled)
return;
// Get the call information. (if this call exist)
call = calllist_get (current_calls, callID);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment