Changeset View
Changeset View
Standalone View
Standalone View
src/client/room/room.cpp
| Show First 20 Lines • Show All 873 Lines • ▼ Show 20 Lines | auto Room::eventReaders(lager::reader<std::string> eventId) const -> lager::reader<immer::flex_vector<EventReader>> | ||||
| ); | ); | ||||
| }); | }); | ||||
| } | } | ||||
| auto Room::postReceipt(std::string eventId) const -> PromiseT | auto Room::postReceipt(std::string eventId) const -> PromiseT | ||||
| { | { | ||||
| return m_ctx.dispatch(PostReceiptAction{roomId().make().get(), eventId}); | return m_ctx.dispatch(PostReceiptAction{roomId().make().get(), eventId}); | ||||
| } | } | ||||
| auto Room::unreadNotificationEventIds() const -> lager::reader<immer::flex_vector<std::string>> | |||||
| { | |||||
| return m_roomCursor[&RoomModel::unreadNotificationEventIds]; | |||||
| } | |||||
| } | } | ||||