mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Fix build on Windows.
This commit is contained in:
@@ -949,7 +949,7 @@ void HistoryWidget::initVoiceRecordBar() {
|
||||
return false;
|
||||
});
|
||||
_voiceRecordBar->setTTLFilter([=] {
|
||||
if (const auto peer = _history ? _history->peer : nullptr) {
|
||||
if (const auto peer = _history ? _history->peer.get() : nullptr) {
|
||||
if (const auto user = peer->asUser()) {
|
||||
if (!user->isSelf() && !user->isBot()) {
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user