fun mergeReactions(recentReactions: Collection<Reaction>, cachedReactions: Collection<Reaction>): Collection<Reaction>
Content copied to clipboard
Merges two collections of reactions by their Reaction.type.
Collection of reactions where cached data is substituted by more recent one if they have same Reaction.type.
More recent collection of reactions.
More outdated collection of reactions.