aboutsummaryrefslogtreecommitdiff
path: root/src/Tomato/Validate.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Tomato/Validate.hs')
-rw-r--r--src/Tomato/Validate.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Tomato/Validate.hs b/src/Tomato/Validate.hs
index 0afc4b5..fe0d82a 100644
--- a/src/Tomato/Validate.hs
+++ b/src/Tomato/Validate.hs
@@ -4,9 +4,10 @@ module Tomato.Validate
import RIO
-import Data.Message (InMessage (..))
+import Tomato.Data.Message (InMessage (..))
+-- | Check if a message is a tomato request
isTomato :: InMessage -> Bool
isTomato m =
not (hasAttach m) &&