mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-07-04 10:30:42 +00:00
- typo fixes [skip ci]
This commit is contained in:
parent
adf3c696f6
commit
dded66d01b
@ -2285,7 +2285,7 @@ func replayFinalState(accountManager: AccountManager, postbox: Postbox, accountP
|
||||
updateMessageMedia(transaction: transaction, id: pollId, media: updatedPoll)
|
||||
}
|
||||
case let .UpdateMessageReactions(messageId, reactions):
|
||||
transaction.updateMessage(messageId, update: {
|
||||
transaction.updateMessage(messageId, update: { currentMessage in
|
||||
var storeForwardInfo: StoreMessageForwardInfo?
|
||||
if let forwardInfo = currentMessage.forwardInfo {
|
||||
storeForwardInfo = StoreMessageForwardInfo(authorId: forwardInfo.author?.id, sourceId: forwardInfo.source?.id, sourceMessageId: forwardInfo.sourceMessageId, date: forwardInfo.date, authorSignature: forwardInfo.authorSignature)
|
||||
|
@ -1,10 +1,11 @@
|
||||
import Foundation
|
||||
#if os(macOS)
|
||||
import PostboxMac
|
||||
import TelegramApiMac
|
||||
#else
|
||||
import Postbox
|
||||
#endif
|
||||
import TelegramApi
|
||||
#endif
|
||||
|
||||
public struct MessageReaction: Equatable, PostboxCoding {
|
||||
public var value: String
|
||||
|
Loading…
x
Reference in New Issue
Block a user