mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-07-25 23:13:11 +02:00
Don't generate joined message in monoforums.
This commit is contained in:
parent
4e5082f6c6
commit
9316480884
1 changed files with 2 additions and 1 deletions
|
@ -3440,9 +3440,10 @@ Data::HistoryMessages *History::maybeMessages() {
|
|||
HistoryItem *History::insertJoinedMessage() {
|
||||
const auto channel = peer->asChannel();
|
||||
if (!channel
|
||||
|| channel->isMonoforum()
|
||||
|| _joinedMessage
|
||||
|| !channel->amIn()
|
||||
|| (peer->isMegagroup()
|
||||
|| (channel->isMegagroup()
|
||||
&& channel->mgInfo->joinedMessageFound)) {
|
||||
return _joinedMessage;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue