mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-05-25 14:14:39 +00:00
core: batch send profile update (#3618)
* core: batch send profile update * redundant * reorder * remove type * createSndMessages * refactor * batched create internal item * create feature items for multiple contacts * comments * refactor call site * synonim * refactor createSndMessages * more batching * remove partitionWith * unite filter and fold * refactor * refactor * refactor * fix merge * add test * rename * refactor * refactor * withExceptT * refactor * refactor2 * remove notChanged * deliver with sendMessagesB (#3646) * deliver with sendMessagesB * refactor --------- Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com> --------- Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com> Co-authored-by: Alexander Bondarenko <486682+dpwiz@users.noreply.github.com>
This commit is contained in:
@@ -894,8 +894,7 @@ data PendingSubStatus = PendingSubStatus
|
||||
deriving (Show)
|
||||
|
||||
data UserProfileUpdateSummary = UserProfileUpdateSummary
|
||||
{ notChanged :: Int,
|
||||
updateSuccesses :: Int,
|
||||
{ updateSuccesses :: Int,
|
||||
updateFailures :: Int,
|
||||
changedContacts :: [Contact]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user