File tree 1 file changed +3
-9
lines changed
1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -334,15 +334,11 @@ class GetStarsTransactionsQuery final : public Td::ResultHandler {
334
334
transaction->transaction_url_ );
335
335
}
336
336
if (transaction->pending_ ) {
337
- SCOPE_EXIT {
338
- transaction->pending_ = false ;
339
- };
337
+ transaction->pending_ = false ;
340
338
return td_api::make_object<td_api::revenueWithdrawalStatePending>();
341
339
}
342
340
if (transaction->failed_ ) {
343
- SCOPE_EXIT {
344
- transaction->failed_ = false ;
345
- };
341
+ transaction->failed_ = false ;
346
342
return td_api::make_object<td_api::revenueWithdrawalStateFailed>();
347
343
}
348
344
return nullptr ;
@@ -444,9 +440,7 @@ class GetStarsTransactionsQuery final : public Td::ResultHandler {
444
440
}
445
441
if (transaction->reaction_ ) {
446
442
if (for_channel) {
447
- SCOPE_EXIT {
448
- transaction->reaction_ = false ;
449
- };
443
+ transaction->reaction_ = false ;
450
444
return td_api::make_object<td_api::starTransactionTypeChannelPaidReactionReceive>(
451
445
user_id_object, get_message_id_object ());
452
446
}
You can’t perform that action at this time.
0 commit comments