mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
Reaction improvements
This commit is contained in:
@@ -501,7 +501,7 @@ func _internal_updatePeerAllowedReactions(account: Account, peerId: PeerId, allo
|
||||
}
|
||||
|
||||
func _internal_updateDefaultReaction(account: Account, reaction: String) -> Signal<Never, NoError> {
|
||||
return account.network.request(Api.functions.messages.setDefaultReaction(emoji: reaction))
|
||||
return account.network.request(Api.functions.messages.setDefaultReaction(reaction: reaction))
|
||||
|> `catch` { _ -> Signal<Api.Bool, NoError> in
|
||||
return .single(.boolFalse)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user