mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Allow topic deletion.
This commit is contained in:
@@ -176,7 +176,7 @@ void Account::startAdded(MTP::AuthKeyPtr localKey) {
|
||||
}
|
||||
|
||||
void Account::clearLegacyFiles() {
|
||||
const auto weak = base::make_weak(_owner.get());
|
||||
const auto weak = base::make_weak(_owner);
|
||||
ClearLegacyFiles(_basePath, [weak, this](
|
||||
FnMut<void(base::flat_set<QString>&&)> then) {
|
||||
crl::on_main(weak, [this, then = std::move(then)]() mutable {
|
||||
|
Reference in New Issue
Block a user