From f1652417c5d1006440b4c889ca052ec1713ac2eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Tue, 29 Jul 2025 21:06:38 +0200 Subject: 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. --- main/Main.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/Main.hs') 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 -- cgit v1.2.3