fix(src/components/chat/ChatModel): remove unnecessary todo

This commit is contained in:
Ronan Abhamon 2017-05-10 10:38:10 +02:00
parent 8186e21b4c
commit b3c68bd6a2

View file

@ -270,7 +270,8 @@ void ChatModel::setSipAddress (const QString &sipAddress) {
fillMessageEntry(map, message);
// TODO: Remove me in a future linphone core version.
// Old workaround.
// It can exist messages with a not delivered status. It's a linphone core bug.
if (message->getState() == linphone::ChatMessageStateInProgress)
map["status"] = linphone::ChatMessageStateNotDelivered;