fix for random update

This commit is contained in:
spaced4ndy
2023-12-21 16:04:01 +04:00
parent a480b01fce
commit 3f72fa89ee
+1 -1
View File
@@ -5632,7 +5632,7 @@ sendBatchedDirectMessages conn@Connection {connId} events connOrGroupId = do
where
createSndMessages :: m [Either ChatError SndMessage]
createSndMessages = do
gVar <- asks idsDrg
gVar <- asks random
ChatConfig {chatVRange} <- asks config
withStoreBatch $ \db -> map (createMsg db gVar chatVRange) (toList events)
createMsg db gVar chatVRange evnt = do