X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fclient%2Fnetworkmodel.cpp;h=992f52f29d8e4b4ea6a1c725d2f10c723f5f58ed;hb=1bd0b3710fe361c778bc5b5a726353e205d16eaf;hp=4f7935cf8820f64812528a883bdf97b3d4a7b427;hpb=a45c66ff2974e6599ac97884c60da9e29a402ddf;p=quassel.git diff --git a/src/client/networkmodel.cpp b/src/client/networkmodel.cpp index 4f7935cf..992f52f2 100644 --- a/src/client/networkmodel.cpp +++ b/src/client/networkmodel.cpp @@ -285,6 +285,9 @@ void BufferItem::setLastMsgInsert(QDateTime msgDate) { } bool BufferItem::setLastSeen() { + if(_lastSeen > _lastMsgInsert) + return false; + _lastSeen = _lastMsgInsert; BufferSettings(bufferInfo().bufferId()).setLastSeen(_lastSeen); return true;