mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-19 07:37:11 +02:00
Fix possible incorrect links in service messages.
This commit is contained in:
parent
4f4ef941c6
commit
b4a49de819
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ void HistoryService::setMessageByAction(const MTPmessageAction &action) {
|
|||
auto user = history()->owner().user(users[i].v);
|
||||
result.links.push_back(user->createOpenLink());
|
||||
|
||||
auto linkText = Ui::Text::Link(user->name, QString());
|
||||
auto linkText = Ui::Text::Link(user->name, 2 + i);
|
||||
if (i == 0) {
|
||||
result.text = linkText;
|
||||
} else if (i + 1 == l) {
|
||||
|
|
Loading…
Add table
Reference in a new issue