Skip to content

Commit

Permalink
Merge pull request #15 from special/master
Browse files Browse the repository at this point in the history
[commhistory-daemon] Don't create new events for echoed delivery reports
  • Loading branch information
special committed Jul 30, 2013
2 parents b9b7057 + d63dddc commit e286ee7
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/textchannellistener.cpp
Expand Up @@ -692,12 +692,7 @@ void TextChannelListener::handleMessages()
modifyTokens[groupId].insertMulti(event.id(), token);

} else {
// recovered message should be added
addEvents << event;
addMessages << message;
// expunging of added message will fail, but it's harmless
// and we don't need to expung this delivery report cause
// tp-ring do it automatically if the status is accepted
qDebug() << __PRETTY_FUNCTION__ << "Ignoring recovered message from delivery echo";
}

break;
Expand Down

0 comments on commit e286ee7

Please sign in to comment.