diff --git a/submodules/TelegramCore/Sources/TelegramEngine/Messages/Stories.swift b/submodules/TelegramCore/Sources/TelegramEngine/Messages/Stories.swift index 0ba3e22385..0715ce9f37 100644 --- a/submodules/TelegramCore/Sources/TelegramEngine/Messages/Stories.swift +++ b/submodules/TelegramCore/Sources/TelegramEngine/Messages/Stories.swift @@ -1268,7 +1268,7 @@ func _internal_deleteStories(account: Account, peerId: PeerId, ids: [Int32]) -> } } if updated { - transaction.setStoryItems(peerId: account.peerId, items: items) + transaction.setStoryItems(peerId: peerId, items: items) } account.stateManager.injectStoryUpdates(updates: ids.map { id in return .deleted(peerId: peerId, id: id)