mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-01 23:15:59 +00:00
Remove creation of telesco.pe links.
This commit is contained in:
@@ -769,19 +769,6 @@ QString ApiWrap::exportDirectMessageLink(
|
|||||||
: linkThreadId
|
: linkThreadId
|
||||||
? (QString::number(linkThreadId.bare) + '/' + post)
|
? (QString::number(linkThreadId.bare) + '/' + post)
|
||||||
: post);
|
: post);
|
||||||
if (linkChannel->hasUsername()
|
|
||||||
&& !forceNonPublicLink
|
|
||||||
&& !linkChannel->isMegagroup()
|
|
||||||
&& !linkCommentId
|
|
||||||
&& !linkThreadId) {
|
|
||||||
if (const auto media = item->media()) {
|
|
||||||
if (const auto document = media->document()) {
|
|
||||||
if (document->isVideoMessage()) {
|
|
||||||
return u"https://telesco.pe/"_q + query;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return session().createInternalLinkFull(query);
|
return session().createInternalLinkFull(query);
|
||||||
};
|
};
|
||||||
if (forceNonPublicLink) {
|
if (forceNonPublicLink) {
|
||||||
|
Reference in New Issue
Block a user