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

Fix wrong cast of op.

parent fef84de6
......@@ -623,7 +623,7 @@ static LinphoneChatMessageState chatStatusSal2Linphone(SalMessageDeliveryStatus
static void message_delivery_update(SalOp *op, SalMessageDeliveryStatus status) {
auto lc = reinterpret_cast<LinphoneCore *>(op->getSal()->getUserPointer());
if (linphone_core_get_global_state(lc) != LinphoneGlobalOn) {
static_cast<SalReferOp *>(op)->reply(SalReasonDeclined);
static_cast<SalMessageOp *>(op)->reply(SalReasonDeclined);
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