mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-01 23:25:15 +00:00
Use plain HistoryItem in channel admin events log.
Instead of using a complex AdminLog::Item use just HistoryItem*.
This commit is contained in:
@@ -819,13 +819,6 @@ void MainWidget::onFilesOrForwardDrop(const PeerId &peerId, const QMimeData *dat
|
||||
}
|
||||
}
|
||||
|
||||
bool MainWidget::isItemVisible(HistoryItem *item) {
|
||||
if (isHidden() || _a_show.animating()) {
|
||||
return false;
|
||||
}
|
||||
return _history->isItemVisible(item);
|
||||
}
|
||||
|
||||
void MainWidget::notify_botCommandsChanged(UserData *bot) {
|
||||
_history->notify_botCommandsChanged(bot);
|
||||
}
|
||||
@@ -901,10 +894,6 @@ void MainWidget::notify_historyMuteUpdated(History *history) {
|
||||
_dialogs->notify_historyMuteUpdated(history);
|
||||
}
|
||||
|
||||
void MainWidget::notify_handlePendingHistoryUpdate() {
|
||||
_history->notify_handlePendingHistoryUpdate();
|
||||
}
|
||||
|
||||
bool MainWidget::cmd_search() {
|
||||
if (Ui::isLayerShown() || Ui::isMediaViewShown()) return false;
|
||||
return _history->cmd_search();
|
||||
|
Reference in New Issue
Block a user