fix apply action

This commit is contained in:
Mike Renoir 2023-04-06 16:39:58 +04:00
parent 705a8b2d21
commit 86d12b5624

View File

@ -3406,6 +3406,7 @@ func replayFinalState(
transaction.removeHole(peerId: chatPeerId, threadId: nil, namespace: Namespaces.Message.Cloud, space: space, range: 1 ... id.id)
}
case let .setChatWallpaper(wallpaper):
if chatPeerId == accountPeerId {
transaction.updatePeerCachedData(peerIds: [message.id.peerId], update: { peerId, current in
var current = current
if current == nil {
@ -3419,6 +3420,7 @@ func replayFinalState(
return current
}
})
}
default:
break
}