mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Divide structs into several data/ modules.
This commit is contained in:
@@ -970,7 +970,10 @@ void HistoryWidget::onMentionInsert(UserData *user) {
|
||||
if (replacement.isEmpty()) {
|
||||
replacement = App::peerName(user);
|
||||
}
|
||||
entityTag = qsl("mention://user.") + QString::number(user->bareId()) + '.' + QString::number(user->access);
|
||||
entityTag = qsl("mention://user.")
|
||||
+ QString::number(user->bareId())
|
||||
+ '.'
|
||||
+ QString::number(user->accessHash());
|
||||
} else {
|
||||
replacement = '@' + user->username;
|
||||
}
|
||||
|
Reference in New Issue
Block a user