mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Support topic choosing in ShareBox.
This commit is contained in:
@@ -141,7 +141,7 @@ void ShowChooseBox(
|
||||
callback(thread);
|
||||
};
|
||||
auto filter = [=](not_null<Data::Thread*> thread) -> bool {
|
||||
const auto peer = thread->owningHistory()->peer;
|
||||
const auto peer = thread->peer();
|
||||
if (!thread->canWrite()) {
|
||||
return false;
|
||||
} else if (const auto user = peer->asUser()) {
|
||||
|
Reference in New Issue
Block a user