Various fixes

This commit is contained in:
Ilya Laktyushin
2024-08-13 01:19:23 +02:00
parent 09da967592
commit 42de4756aa
4 changed files with 28 additions and 42 deletions

View File

@@ -1093,9 +1093,6 @@ func _internal_sendStarsPaymentForm(account: Account, formId: Int64, source: Bot
return account.network.request(Api.functions.payments.sendStarsForm(flags: flags, formId: formId, invoice: invoice))
|> map { result -> SendBotPaymentResult in
switch result {
case let .paymentResult(updates):
account.stateManager.addUpdates(updates)