Commit dbde9071 authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Fix build without libnotify.

parent c3e31789
......@@ -1226,12 +1226,12 @@ void linphone_gtk_notify(LinphoneCall *call, LinphoneChatMessage *chat_message,
if (!notify_init ("Linphone")) ms_error("Libnotify failed to init.");
if (!call) {
if (chat_message) {
const LinphoneAddress *address = linphone_chat_message_get_peer_address(chat_message);
char *remote = linphone_address_as_string(address);
make_notification(remote, linphone_chat_message_get_text(chat_message));
} else {
if (!notify_notification_show(notify_notification_new("Linphone",msg,NULL
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment