diff options
| author | Roman Smrž <roman.smrz@seznam.cz> | 2026-08-12 21:41:28 +0200 |
|---|---|---|
| committer | Roman Smrž <roman.smrz@seznam.cz> | 2026-08-14 22:08:15 +0200 |
| commit | 3bd3dbaaf6c840e05b90da8a8fd1e051cf473255 (patch) | |
| tree | 53372e6abc58abf09f0277a7729b0cf038001032 /src/Erebos/DirectMessage.hs | |
| parent | 127036f4f7fc295b5815503f4f27e4f2827e02f1 (diff) | |
Key handling in MonadStorage class
Diffstat (limited to 'src/Erebos/DirectMessage.hs')
| -rw-r--r-- | src/Erebos/DirectMessage.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Erebos/DirectMessage.hs b/src/Erebos/DirectMessage.hs index ed2c2b4..e3e5e97 100644 --- a/src/Erebos/DirectMessage.hs +++ b/src/Erebos/DirectMessage.hs @@ -213,7 +213,7 @@ findMsgPropertyUpdate :: Property MessageState [ a ] -> [ Stored MessageState ] findMsgPropertyUpdate prev mss = findPropertyUpdate prev mss -sendDirectMessage :: (Foldable f, Applicative f, MonadHead LocalState m) +sendDirectMessage :: (Foldable f, Applicative f, MonadHead LocalState m, MonadIO m) => Identity f -> Text -> m () sendDirectMessage pid text = updateLocalState_ $ \ls -> do let self = localIdentity $ fromStored ls |