mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-25 04:36:46 +00:00
Disambiguate between types of receipts when stored in the same map
This commit is contained in:
@@ -34,6 +34,7 @@ function remove(sync: ViewSyncAttributesType): void {
|
||||
generateCacheKey({
|
||||
sender: sync.senderId,
|
||||
timestamp: sync.timestamp,
|
||||
type: 'viewsync',
|
||||
})
|
||||
);
|
||||
sync.removeFromMessageReceiverCache();
|
||||
@@ -78,6 +79,7 @@ export async function onSync(sync: ViewSyncAttributesType): Promise<void> {
|
||||
generateCacheKey({
|
||||
sender: sync.senderId,
|
||||
timestamp: sync.timestamp,
|
||||
type: 'viewsync',
|
||||
}),
|
||||
sync
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user