Show joined for megagroup

This commit is contained in:
NekoInverter 2020-07-26 16:49:06 +08:00 committed by 世界
parent 19034c0b8e
commit 8d0a5aec43
No known key found for this signature in database
GPG Key ID: CD109927C34A63C4

View File

@ -2821,10 +2821,10 @@ public class ChatUsersActivity extends BaseFragment implements NotificationCente
boolean showJoined = false; boolean showJoined = false;
if (position >= participantsStartRow && position < participantsEndRow) { if (position >= participantsStartRow && position < participantsEndRow) {
lastRow = participantsEndRow; lastRow = participantsEndRow;
showJoined = ChatObject.isChannel(currentChat) && !currentChat.megagroup; showJoined = ChatObject.isChannel(currentChat);
} else if (position >= contactsStartRow && position < contactsEndRow) { } else if (position >= contactsStartRow && position < contactsEndRow) {
lastRow = contactsEndRow; lastRow = contactsEndRow;
showJoined = ChatObject.isChannel(currentChat) && !currentChat.megagroup; showJoined = ChatObject.isChannel(currentChat);
} else { } else {
lastRow = botEndRow; lastRow = botEndRow;
} }