Fix lost promise in ReportChannelSpamQuery.
GitOrigin-RevId: 61abcd89b6753d6f863f1dd72bc45b30a1f09ec7
This commit is contained in:
parent
c2a370262c
commit
90ab672030
@ -1227,7 +1227,7 @@ class ReportChannelSpamQuery : public Td::ResultHandler {
|
||||
|
||||
void on_error(uint64 id, Status status) override {
|
||||
td->contacts_manager_->on_get_channel_error(channel_id_, status, "ReportChannelSpamQuery");
|
||||
status.ignore();
|
||||
promise_.set_error(std::move(status));
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user