mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-21 16:47:07 +02:00
Fix invite link sharing without a comment.
This commit is contained in:
parent
2d8e6f9745
commit
b638650b41
1 changed files with 2 additions and 0 deletions
|
@ -881,6 +881,8 @@ void ShareInviteLinkBox(not_null<PeerData*> peer, const QString &link) {
|
|||
for (auto &tag : comment.tags) {
|
||||
tag.offset += add;
|
||||
}
|
||||
} else {
|
||||
comment.text = link;
|
||||
}
|
||||
const auto owner = &peer->owner();
|
||||
auto &api = peer->session().api();
|
||||
|
|
Loading…
Add table
Reference in a new issue