2
0
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:
John Preston
2017-09-26 14:49:16 +03:00
parent f2a5862714
commit ffc20e4492
68 changed files with 4985 additions and 4065 deletions

View File

@@ -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;
}