X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcore.h;h=31d01be493c4cbdc36ed10b3cbb1b904d03da378;hp=2255f56a03d389a2389893beffb4a776153bdf42;hb=9f9d207ecf28dd5470ecef9d4076a3f447662a20;hpb=351e8bd985011abf721e2beffd9b8eeee74bf4e1 diff --git a/src/core/core.h b/src/core/core.h index 2255f56a..31d01be4 100644 --- a/src/core/core.h +++ b/src/core/core.h @@ -239,17 +239,17 @@ class Core : public QObject { * * \param user The Owner of that Buffer * \param bufferId The buffer id - * \param seenDate Time the Buffer has been visited the last time + * \param MsgId The Message id of the message that has been just seen */ - static void setBufferLastSeen(UserId user, const BufferId &bufferId, const QDateTime &seenDate); + static void setBufferLastSeenMsg(UserId user, const BufferId &bufferId, const MsgId &msgId); - //! Get a Hash of all last seen dates. - /** This Method is called when the Quassel Core is started to restore the lastSeenDates + //! Get a Hash of all last seen message ids + /** This Method is called when the Quassel Core is started to restore the lastSeenMsgIds * \note This method is threadsafe. * * \param user The Owner of the buffers */ - static QHash bufferLastSeenDates(UserId user); + static QHash bufferLastSeenMsgIds(UserId user); public slots: //! Make storage data persistent