Prevent an insert that is redondent

This commit is contained in:
Sylvain Berfini 2017-11-24 15:40:51 +01:00
parent c115a448dd
commit 28570e284d

View file

@ -556,7 +556,7 @@ void ChatMessagePrivate::send () {
q->setImdnMessageId(op->get_call_id()); /* must be known at that time */ q->setImdnMessageId(op->get_call_id()); /* must be known at that time */
store(); //store(); // Store will be done right below in the setState(InProgress)
if (call && linphone_call_get_op(call) == op) { if (call && linphone_call_get_op(call) == op) {
/* In this case, chat delivery status is not notified, so unrefing chat message right now */ /* In this case, chat delivery status is not notified, so unrefing chat message right now */