2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-05 09:05:14 +00:00

Request last topic message if it becomes unknown.

This commit is contained in:
John Preston
2022-10-06 20:06:24 +04:00
parent 032e6c57e9
commit f258b054e8
11 changed files with 91 additions and 39 deletions

View File

@@ -1211,7 +1211,7 @@ void InnerWidget::checkReorderPinnedStart(QPoint localPosition) {
< style::ConvertScale(kStartReorderThreshold)) {
return;
} else if (_openedForum) {
return; // #TODO forum
return; // #TODO forum pinned
}
_dragging = _pressed;
if (updateReorderIndexGetCount() < 2) {
@@ -2415,7 +2415,7 @@ void InnerWidget::refreshEmptyLabel() {
: (state == EmptyState::EmptyFolder)
? tr::lng_no_chats_filter()
: (state == EmptyState::EmptyForum)
// #TODO forum
// #TODO lang-forum
? rpl::single(u"No chats currently created in this forum."_q)
: tr::lng_contacts_loading();
auto link = (state == EmptyState::NoContacts)
@@ -2423,7 +2423,7 @@ void InnerWidget::refreshEmptyLabel() {
: (state == EmptyState::EmptyFolder)
? tr::lng_filters_context_edit()
: (state == EmptyState::EmptyForum)
// #TODO forum
// #TODO lang-forum
? rpl::single(u"Create topic"_q)
: rpl::single(QString());
auto full = rpl::combine(