2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Implement forwarding to topics.

This commit is contained in:
John Preston
2022-11-01 08:46:31 +04:00
parent c497e9ca9c
commit 1ac051a812
38 changed files with 1413 additions and 561 deletions

View File

@@ -691,9 +691,8 @@ void MainMenu::setupMenu() {
tr::lng_saved_messages(),
{ &st::settingsIconSavedMessages, kIconLightBlue }
)->setClickedCallback([=] {
controller->content()->choosePeer(
controller->session().userPeerId(),
ShowAtUnreadMsgId);
const auto self = controller->session().user();
controller->content()->chooseThread(self, ShowAtUnreadMsgId);
});
} else {
addAction(