diff options
author | Roman Smrž <roman.smrz@seznam.cz> | 2025-07-29 21:06:38 +0200 |
---|---|---|
committer | Roman Smrž <roman.smrz@seznam.cz> | 2025-07-29 21:06:38 +0200 |
commit | f1652417c5d1006440b4c889ca052ec1713ac2eb (patch) | |
tree | 898f262f8363276cb0c138a39208d8a7a16e5508 /main/Main.hs | |
parent | 21060feaebec1c0c49b33e474fbd9a076d8d8a1e (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.hs | 2 |
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 |