2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Fix tg://settings/devices link.

This commit is contained in:
John Preston
2021-06-07 19:42:18 +04:00
parent 4f8989fad7
commit ef61443342
2 changed files with 3 additions and 0 deletions

View File

@@ -658,6 +658,7 @@ void SetupSessionsList(
) | rpl::start_with_next([=] {
controller->session().api().authorizations().reload();
}, container->lifetime());
auto count = controller->session().api().authorizations().totalChanges(
) | rpl::map([](int count) {
return count ? QString::number(count) : QString();