summaryrefslogtreecommitdiff
path: root/main/Main.hs
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2025-07-29 21:06:38 +0200
committerRoman Smrž <roman.smrz@seznam.cz>2025-07-29 21:06:38 +0200
commitf1652417c5d1006440b4c889ca052ec1713ac2eb (patch)
tree898f262f8363276cb0c138a39208d8a7a16e5508 /main/Main.hs
parent21060feaebec1c0c49b33e474fbd9a076d8d8a1e (diff)
Rename DirectMessage functions to include dm/direct
Changelog: API: Renamed some functions in `DirectMessage` module to make clear they are related only to direct messages.
Diffstat (limited to 'main/Main.hs')
-rw-r--r--main/Main.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/Main.hs b/main/Main.hs
index 68bbc8a..974038f 100644
--- a/main/Main.hs
+++ b/main/Main.hs
@@ -369,7 +369,7 @@ interactiveLoop st opts = withTerminal commandCompletion $ \term -> do
_ <- liftIO $ do
tzone <- getCurrentTimeZone
- watchReceivedMessages erebosHead $ \smsg -> do
+ watchReceivedDirectMessages erebosHead $ \smsg -> do
let msg = fromStored smsg
extPrintLn $ formatDirectMessage tzone msg
case optDmBotEcho opts of