diff options
| author | Roman Smrž <roman.smrz@seznam.cz> | 2026-06-02 21:10:39 +0200 |
|---|---|---|
| committer | Roman Smrž <roman.smrz@seznam.cz> | 2026-06-02 21:10:39 +0200 |
| commit | cb71b9c56754abe739b889aeb9fd8bf80097c661 (patch) | |
| tree | d9d1dad0620c819aeb2dca7d1586d12d87c2ab30 /src/Erebos/Chatroom.hs | |
| parent | b2319c8084d34edb85e0fee4ca7edcdee0c8aeed (diff) | |
Command to mark messages as seen
Changelog: Added `/seen` command to mark messages as seen.
Diffstat (limited to 'src/Erebos/Chatroom.hs')
| -rw-r--r-- | src/Erebos/Chatroom.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Erebos/Chatroom.hs b/src/Erebos/Chatroom.hs index aa5e3ee..fce8b1d 100644 --- a/src/Erebos/Chatroom.hs +++ b/src/Erebos/Chatroom.hs @@ -72,6 +72,8 @@ instance ConversationType ChatroomState ChatMessage where convMessageListSince mbSince cstate = ( 0, ) $ map (, False) $ threadToListSince (maybe [] roomStateMessageData mbSince) (roomStateMessageData cstate) + convMarkAllSeen _ = return () + data ChatroomData = ChatroomData { rdPrev :: [Stored (Signed ChatroomData)] |