This commit is contained in:
Andrea Cavalli 2021-04-04 16:11:40 +02:00
parent d84dcceae4
commit 28a655151a
2 changed files with 3 additions and 4 deletions

View File

@ -35801,7 +35801,7 @@ void MessagesManager::get_channel_difference_delayed(DialogId dialog_id, int32 p
} else {
auto channel_difference_id = ++last_pending_channel_difference_;
pending_channel_difference_
.emplace(channel_difference_id, td::make_unique<PendingChannelDifference>(dialog_id, pts, force, source));
.emplace(channel_difference_id, td::make_unique<PendingChannelDifference>(dialog_id, pts, force));
send_closure(G()->td(), &Td::send_update,
make_tl_object<td_api::updateNewChannelDifferencePart>(channel_difference_id));
}

View File

@ -3137,10 +3137,9 @@ class MessagesManager : public Actor {
DialogId dialog_id;
int32 pts;
bool force;
const char *source;
PendingChannelDifference(DialogId dialog_id, int32 pts, bool force, const char *source)
: dialog_id(dialog_id), pts(pts), force(force), source(source) {
PendingChannelDifference(DialogId dialog_id, int32 pts, bool force)
: dialog_id(dialog_id), pts(pts), force(force) {
}
};