mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
broadcast channels support started
This commit is contained in:
@@ -798,7 +798,7 @@ void TextLink::onClick(Qt::MouseButton button) const {
|
||||
startToken = startParams.captured(3);
|
||||
}
|
||||
}
|
||||
App::openUserByName(telegramMeUser.captured(1), start == qsl("startgroup"), startToken);
|
||||
App::openPeerByName(telegramMeUser.captured(1), start == qsl("startgroup"), startToken);
|
||||
} else if (telegramMeGroup.hasMatch()) {
|
||||
App::joinGroupByHash(telegramMeGroup.captured(1));
|
||||
} else if (telegramMeStickers.hasMatch()) {
|
||||
@@ -822,7 +822,7 @@ void EmailLink::onClick(Qt::MouseButton button) const {
|
||||
|
||||
void MentionLink::onClick(Qt::MouseButton button) const {
|
||||
if (button == Qt::LeftButton || button == Qt::MiddleButton) {
|
||||
App::openUserByName(_tag.mid(1), true);
|
||||
App::openPeerByName(_tag.mid(1), true);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user