2
0
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:
John Preston
2015-09-06 13:17:09 +03:00
parent 95ff7821a3
commit b53e35e046
31 changed files with 1006 additions and 525 deletions

View File

@@ -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);
}
}