Page MenuHomePhorge

D303.1779456846.diff
No OneTemporary

Size
979 B
Referenced Files
None
Subscribers
None

D303.1779456846.diff

diff --git a/src/client/room/room.hpp b/src/client/room/room.hpp
--- a/src/client/room/room.hpp
+++ b/src/client/room/room.hpp
@@ -819,7 +819,7 @@
* @param userId userId of the given user
* @return true iff the event is read by the user
*/
- bool isReadBy(const std::string &eventId, const std::string &userId);
+ bool isReadBy(const std::string &eventId, const std::string &userId) const;
private:
const lager::reader<SdkModel> &sdkCursor() const;
diff --git a/src/client/room/room.cpp b/src/client/room/room.cpp
--- a/src/client/room/room.cpp
+++ b/src/client/room/room.cpp
@@ -945,7 +945,7 @@
return m_roomCursor[&RoomModel::unreadNotificationEventIds];
}
- bool Room::isReadBy(const std::string &eventId, const std::string &userId)
+ bool Room::isReadBy(const std::string &eventId, const std::string &userId) const
{
return m_roomCursor.get().isReadBy(eventId, userId);
}

File Metadata

Mime Type
text/plain
Expires
Fri, May 22, 6:34 AM (16 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1494796
Default Alt Text
D303.1779456846.diff (979 B)

Event Timeline