From 2255aac6f96d16ec67378c1683db759e30825265 Mon Sep 17 00:00:00 2001 From: Ali <> Date: Sat, 1 Jul 2023 11:26:32 +0200 Subject: [PATCH] Fix typo --- .../Sources/State/ManagedAutoremoveMessageOperations.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submodules/TelegramCore/Sources/State/ManagedAutoremoveMessageOperations.swift b/submodules/TelegramCore/Sources/State/ManagedAutoremoveMessageOperations.swift index fb1760d897..9071cf2f79 100644 --- a/submodules/TelegramCore/Sources/State/ManagedAutoremoveMessageOperations.swift +++ b/submodules/TelegramCore/Sources/State/ManagedAutoremoveMessageOperations.swift @@ -179,7 +179,7 @@ func managedAutoexpireStoryOperations(network: Network, postbox: Postbox) -> Sig for (peerId, ids) in idsByPeerId { var items = transaction.getStoryItems(peerId: peerId) items.removeAll(where: { ids.contains($0.id) }) - transaction.setStoryItems(peerId: topItem.id.peerId, items: items) + transaction.setStoryItems(peerId: peerId, items: items) } })