mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-30 01:08:02 +00:00
Support forwarding to monoforums.
This commit is contained in:
@@ -62,7 +62,7 @@ const auto kPsaBadgePrefix = "cloud_lng_badge_psa_";
|
||||
|
||||
[[nodiscard]] bool ShowSendActionInDialogs(Data::Thread *thread) {
|
||||
const auto history = thread ? thread->owningHistory().get() : nullptr;
|
||||
if (!history) {
|
||||
if (!history || thread->asSublist()) {
|
||||
return false;
|
||||
} else if (const auto user = history->peer->asUser()) {
|
||||
return !user->lastseen().isHidden();
|
||||
@@ -994,7 +994,7 @@ void RowPainter::Paint(
|
||||
? history->peer->migrateTo()
|
||||
: history->peer.get())
|
||||
: sublist
|
||||
? sublist->peer().get()
|
||||
? sublist->sublistPeer().get()
|
||||
: nullptr;
|
||||
const auto allowUserOnline = true;// !context.narrow || badgesState.empty();
|
||||
const auto flags = (allowUserOnline ? Flag::AllowUserOnline : Flag(0))
|
||||
|
||||
Reference in New Issue
Block a user