mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2024-12-17 17:20:21 +01:00
fix for random update
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user