Handle t.me/bg links with wallpapers / colors.

This commit is contained in:
John Preston
2019-01-17 12:18:23 +04:00
parent e59a68cd68
commit 1894b8fcf7
34 changed files with 805 additions and 194 deletions
@@ -301,11 +301,11 @@ void ConcurrentTimer::cancelAndSchedule(int timeout) {
runner = _runner,
guard = std::move(guards.second)
]() mutable {
if (!guard.alive()) {
if (!guard) {
return;
}
runner([=, guard = std::move(guard)] {
if (!guard.alive()) {
if (!guard) {
return;
}
timerEvent();