From 6e5dc5333ec6897b4f6e2352e5c5aaf49b59675b Mon Sep 17 00:00:00 2001 From: Benjamin Reis Date: Tue, 20 Mar 2018 11:40:16 +0100 Subject: [PATCH] fix previsous commit --- coreapi/linphonecore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coreapi/linphonecore.c b/coreapi/linphonecore.c index dd014c4ed..9c9bc16bf 100644 --- a/coreapi/linphonecore.c +++ b/coreapi/linphonecore.c @@ -2163,7 +2163,7 @@ static void linphone_core_internal_notify_received(LinphoneCore *lc, LinphoneEve } static void _linphone_core_conference_subscribe_received(LinphoneCore *lc, LinphoneEvent *lev, const LinphoneContent *body) { - if (body && linphone_event_get_custom_header(body, "Content-Disposition") && strcasecmp(linphone_event_get_custom_header(body, "Content-Disposition"), "recipient-list") == 0) { + if (body && linphone_event_get_custom_header(lev, "Content-Disposition") && strcasecmp(linphone_event_get_custom_header(lev, "Content-Disposition"), "recipient-list") == 0) { // List subscription L_GET_PRIVATE_FROM_C_OBJECT(lc)->localListEventHandler->subscribeReceived(lev, body); return;