mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-04 08:35:21 +00:00
Mention user from context menu
This commit is contained in:
@@ -2578,6 +2578,14 @@ void MainWidget::searchInChat(Dialogs::Key chat) {
|
||||
}
|
||||
}
|
||||
|
||||
void MainWidget::mentionUser(PeerData *peer) {
|
||||
if (!_history->peer() || !_history->peer()->canWrite()) {
|
||||
return;
|
||||
}
|
||||
|
||||
_history->mentionUser(peer);
|
||||
}
|
||||
|
||||
void MainWidget::openPeerByName(
|
||||
const QString &username,
|
||||
MsgId msgId,
|
||||
|
Reference in New Issue
Block a user