mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Add phrases to lang.string.
This commit is contained in:
@@ -200,8 +200,10 @@ Key WrapWidget::key() const {
|
||||
|
||||
Dialogs::RowDescriptor WrapWidget::activeChat() const {
|
||||
if (const auto peer = key().peer()) {
|
||||
return Dialogs::RowDescriptor(peer->owner().history(peer), FullMsgId());
|
||||
} else if (key().settingsSelf() || key().poll()) {
|
||||
return Dialogs::RowDescriptor(
|
||||
peer->owner().history(peer),
|
||||
FullMsgId());
|
||||
} else if (key().settingsSelf() || key().isDownloads() || key().poll()) {
|
||||
return Dialogs::RowDescriptor();
|
||||
}
|
||||
Unexpected("Owner in WrapWidget::activeChat().");
|
||||
|
Reference in New Issue
Block a user