mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 14:45:21 +00:00
Update API [skip ci]
This commit is contained in:
@@ -4181,8 +4181,7 @@ extension ChatControllerImpl {
|
||||
|
||||
interfaceState = interfaceState.withUpdatedPostSuggestionState(ChatInterfaceState.PostSuggestionState(
|
||||
editingOriginalMessageId: message.id,
|
||||
currency: attribute?.currency ?? .stars,
|
||||
price: attribute?.amount ?? 0,
|
||||
price: attribute?.amount,
|
||||
timestamp: attribute?.timestamp
|
||||
))
|
||||
return interfaceState
|
||||
@@ -4196,8 +4195,7 @@ extension ChatControllerImpl {
|
||||
var interfaceState = interfaceState
|
||||
interfaceState = interfaceState.withUpdatedPostSuggestionState(ChatInterfaceState.PostSuggestionState(
|
||||
editingOriginalMessageId: nil,
|
||||
currency: .stars,
|
||||
price: 0,
|
||||
price: nil,
|
||||
timestamp: nil
|
||||
))
|
||||
return interfaceState
|
||||
|
||||
Reference in New Issue
Block a user