2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Load similar channels correctly.

This commit is contained in:
John Preston
2023-11-22 18:40:10 +04:00
parent 2df6729f2d
commit 4dbe5c0a0f
10 changed files with 84 additions and 19 deletions

View File

@@ -1739,6 +1739,10 @@ void ApiWrap::joinChannel(not_null<ChannelData*> channel) {
}).send();
_channelAmInRequests.emplace(channel, requestId);
using Flag = ChannelDataFlag;
chatParticipants().loadSimilarChannels(channel);
channel->setFlags(channel->flags() | Flag::SimilarExpanded);
}
}