mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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) {
|
for (auto &tag : comment.tags) {
|
||||||
tag.offset += add;
|
tag.offset += add;
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
comment.text = link;
|
||||||
}
|
}
|
||||||
const auto owner = &peer->owner();
|
const auto owner = &peer->owner();
|
||||||
auto &api = peer->session().api();
|
auto &api = peer->session().api();
|
||||||
|
|
Loading…
Add table
Reference in a new issue