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

Show correct phrase in local join messages.

This commit is contained in:
John Preston
2021-10-14 15:42:51 +04:00
parent 721aac57a5
commit 2ade6be146
6 changed files with 40 additions and 19 deletions

View File

@@ -2113,6 +2113,7 @@ void Updates::feedUpdate(const MTPUpdate &update) {
auto &d = update.c_updateChannel();
if (const auto channel = session().data().channelLoaded(d.vchannel_id())) {
channel->inviter = UserId(0);
channel->inviteViaRequest = false;
if (channel->amIn()) {
if (channel->isMegagroup()
&& !channel->amCreator()