summaryrefslogtreecommitdiff
path: root/src/Erebos/Conversation
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2025-11-20 21:08:44 +0100
committerRoman Smrž <roman.smrz@seznam.cz>2025-11-20 21:08:44 +0100
commit223e10691606a8d1885887fd6bb7570e1318e063 (patch)
treeac8b7a380802f44229b49bab5cf3011acd2c69bc /src/Erebos/Conversation
parente1765a3e39cfb0a1c1b53e38a6b1d36592566ef1 (diff)
Highlight new messages in conversation history
Diffstat (limited to 'src/Erebos/Conversation')
-rw-r--r--src/Erebos/Conversation/Class.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Erebos/Conversation/Class.hs b/src/Erebos/Conversation/Class.hs
index 909dac6..6a28651 100644
--- a/src/Erebos/Conversation/Class.hs
+++ b/src/Erebos/Conversation/Class.hs
@@ -13,3 +13,4 @@ class (Typeable conv, Typeable msg) => ConversationType conv msg | conv -> msg,
convMessageFrom :: msg -> ComposedIdentity
convMessageTime :: msg -> ZonedTime
convMessageText :: msg -> Maybe Text
+ convMessageListSince :: Maybe conv -> conv -> [ ( msg, Bool ) ]