2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

clearing media autodownload settings on logout, fixed history clearing

This commit is contained in:
John Preston
2016-02-15 14:11:07 +03:00
parent 01c26cedb1
commit 517358c8e9
2 changed files with 4 additions and 1 deletions

View File

@@ -994,7 +994,7 @@ void MainWidget::deleteHistoryPart(PeerData *peer, const MTPmessages_AffectedHis
return;
}
MTP::send(MTPmessages_DeleteHistory(peer->input, d.voffset), rpcDone(&MainWidget::deleteHistoryPart, peer));
MTP::send(MTPmessages_DeleteHistory(peer->input, MTP_int(0)), rpcDone(&MainWidget::deleteHistoryPart, peer));
}
void MainWidget::deleteMessages(PeerData *peer, const QVector<MTPint> &ids) {