mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-07-05 02:50: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)
|
updateMessageMedia(transaction: transaction, id: pollId, media: updatedPoll)
|
||||||
}
|
}
|
||||||
case let .UpdateMessageReactions(messageId, reactions):
|
case let .UpdateMessageReactions(messageId, reactions):
|
||||||
transaction.updateMessage(messageId, update: {
|
transaction.updateMessage(messageId, update: { currentMessage in
|
||||||
var storeForwardInfo: StoreMessageForwardInfo?
|
var storeForwardInfo: StoreMessageForwardInfo?
|
||||||
if let forwardInfo = currentMessage.forwardInfo {
|
if let forwardInfo = currentMessage.forwardInfo {
|
||||||
storeForwardInfo = StoreMessageForwardInfo(authorId: forwardInfo.author?.id, sourceId: forwardInfo.source?.id, sourceMessageId: forwardInfo.sourceMessageId, date: forwardInfo.date, authorSignature: forwardInfo.authorSignature)
|
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
|
import Foundation
|
||||||
#if os(macOS)
|
#if os(macOS)
|
||||||
import PostboxMac
|
import PostboxMac
|
||||||
|
import TelegramApiMac
|
||||||
#else
|
#else
|
||||||
import Postbox
|
import Postbox
|
||||||
#endif
|
|
||||||
import TelegramApi
|
import TelegramApi
|
||||||
|
#endif
|
||||||
|
|
||||||
public struct MessageReaction: Equatable, PostboxCoding {
|
public struct MessageReaction: Equatable, PostboxCoding {
|
||||||
public var value: String
|
public var value: String
|
||||||
|
Loading…
x
Reference in New Issue
Block a user