mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Remove some more Auth() calls.
This commit is contained in:
@@ -262,8 +262,8 @@ void ContentWidget::refreshSearchField(bool shown) {
|
||||
}
|
||||
|
||||
Key ContentMemento::key() const {
|
||||
if (const auto peerId = this->peerId()) {
|
||||
return Key(Auth().data().peer(peerId));
|
||||
if (const auto peer = this->peer()) {
|
||||
return Key(peer);
|
||||
//} else if (const auto feed = this->feed()) { // #feed
|
||||
// return Key(feed);
|
||||
} else if (const auto poll = this->poll()) {
|
||||
|
Reference in New Issue
Block a user