2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Add monoforum sender bar divider.

This commit is contained in:
John Preston
2025-05-12 12:41:00 +04:00
parent c6d43a802c
commit 43b4499125
27 changed files with 388 additions and 90 deletions

View File

@@ -341,12 +341,6 @@ ChannelData *ChannelData::monoforumLink() const {
return _monoforumLink;
}
bool ChannelData::requiresMonoforumPeer() const {
return isMonoforum()
&& _monoforumLink
&& (_monoforumLink->amCreator() || _monoforumLink->hasAdminRights());
}
void ChannelData::setMembersCount(int newMembersCount) {
if (_membersCount != newMembersCount) {
if (isMegagroup()