mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Move some calls from App namespace.
This commit is contained in:
@@ -199,7 +199,7 @@ Key WrapWidget::key() const {
|
||||
|
||||
Dialogs::RowDescriptor WrapWidget::activeChat() const {
|
||||
if (const auto peer = key().peer()) {
|
||||
return Dialogs::RowDescriptor(App::history(peer), FullMsgId());
|
||||
return Dialogs::RowDescriptor(peer->owner().history(peer), FullMsgId());
|
||||
} else if (const auto feed = key().feed()) {
|
||||
return Dialogs::RowDescriptor(feed, FullMsgId());
|
||||
} else if (key().settingsSelf()) {
|
||||
|
Reference in New Issue
Block a user