mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Replaced MainWidget::replyToItem with history element delegate.
This commit is contained in:
@@ -571,14 +571,6 @@ bool MainWidget::shareUrl(
|
||||
return true;
|
||||
}
|
||||
|
||||
void MainWidget::replyToItem(not_null<HistoryItem*> item) {
|
||||
if ((!_mainSection || !_mainSection->replyToMessage(item))
|
||||
&& (_history->peer() == item->history()->peer
|
||||
|| _history->peer() == item->history()->peer->migrateTo())) {
|
||||
_history->replyToMessage(item);
|
||||
}
|
||||
}
|
||||
|
||||
bool MainWidget::inlineSwitchChosen(PeerId peerId, const QString &botAndQuery) {
|
||||
Expects(peerId != 0);
|
||||
|
||||
|
Reference in New Issue
Block a user