2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-30 22:16:14 +00:00

Support t.me/username?text=.. links.

This commit is contained in:
John Preston
2024-04-09 14:00:48 +04:00
parent 170ebb57c6
commit a506b8b25c
3 changed files with 6 additions and 0 deletions

View File

@@ -563,6 +563,7 @@ bool ResolveUsernameOrPhone(
.phone = phone,
.messageId = post,
.storyId = storyId,
.text = params.value(u"text"_q),
.repliesInfo = commentId
? Window::RepliesByLinkInfo{
Window::CommentId{ commentId }