diff --git a/Telegram/Resources/langs/lang.strings b/Telegram/Resources/langs/lang.strings index 2cb115b74b..7ce0e8ad1c 100644 --- a/Telegram/Resources/langs/lang.strings +++ b/Telegram/Resources/langs/lang.strings @@ -164,6 +164,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL "lng_chat_status_members_online" = "{members_count}, {online_count}"; "lng_chat_status_subscribers#one" = "{count} subscriber"; "lng_chat_status_subscribers#other" = "{count} subscribers"; +"lng_chat_status_direct" = "Direct messages"; "lng_channel_status" = "channel"; "lng_group_status" = "group"; diff --git a/Telegram/SourceFiles/chat_helpers/chat_helpers.style b/Telegram/SourceFiles/chat_helpers/chat_helpers.style index b0a98edbfb..c4c689c4b1 100644 --- a/Telegram/SourceFiles/chat_helpers/chat_helpers.style +++ b/Telegram/SourceFiles/chat_helpers/chat_helpers.style @@ -872,8 +872,8 @@ historyGiftToChannel: IconButton(defaultIconButton) { ripple: universalRippleAnimation; } historyDirectMessage: IconButton(historyGiftToChannel) { - icon: icon{{ "menu/chat_bubble", windowActiveTextFg }}; - iconOver: icon{{ "menu/chat_bubble", windowActiveTextFg }}; + icon: icon{{ "menu/chat_discuss", windowActiveTextFg }}; + iconOver: icon{{ "menu/chat_discuss", windowActiveTextFg }}; } historyUnblock: FlatButton(historyComposeButton) { color: attentionButtonFg; diff --git a/Telegram/SourceFiles/history/view/history_view_top_bar_widget.cpp b/Telegram/SourceFiles/history/view/history_view_top_bar_widget.cpp index 532f384480..2ea31c2dc1 100644 --- a/Telegram/SourceFiles/history/view/history_view_top_bar_widget.cpp +++ b/Telegram/SourceFiles/history/view/history_view_top_bar_widget.cpp @@ -1696,6 +1696,8 @@ void TopBarWidget::updateOnlineDisplay() { const auto chats = monoforum->chatsList(); const auto count = chats->fullSize().current(); text = tr::lng_filters_chats_count(tr::now, lt_count, count); + } else if (peer->isMonoforum()) { + text = tr::lng_chat_status_direct(tr::now); } else if (const auto channel = peer->asChannel()) { if (channel->isMegagroup() && channel->canViewMembers()