mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-06 15:13:57 +02:00
Fix build on Windows.
This commit is contained in:
parent
973f91b5e4
commit
ce78074df7
1 changed files with 1 additions and 1 deletions
|
@ -949,7 +949,7 @@ void HistoryWidget::initVoiceRecordBar() {
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
_voiceRecordBar->setTTLFilter([=] {
|
_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 (const auto user = peer->asUser()) {
|
||||||
if (!user->isSelf() && !user->isBot()) {
|
if (!user->isSelf() && !user->isBot()) {
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Add table
Reference in a new issue