]> sjero.net Git - linphone/blobdiff - coreapi/callbacks.c
add message storage
[linphone] / coreapi / callbacks.c
index 1c87f88ced3045ee03ef834de121badb75a71e37..d65e536740a884fe216f7db3d425e73bc3534b31 100644 (file)
@@ -934,6 +934,7 @@ static void text_delivery_update(SalOp *op, SalTextDeliveryStatus status){
        LinphoneChatMessage *chat_msg=(LinphoneChatMessage* )sal_op_get_user_pointer(op);
        const MSList* calls = linphone_core_get_calls(chat_msg->chat_room->lc);
        
+       linphone_core_set_message_state(chat_msg->chat_room,chat_msg->message,chatStatusSal2Linphone(status),chat_msg->time);   
        if (chat_msg && chat_msg->cb) {
                chat_msg->cb(chat_msg
                        ,chatStatusSal2Linphone(status)