Fix myself missing in group participants

This commit is contained in:
luvletter2333 2021-11-16 00:00:27 +08:00
parent edd2b3f224
commit 078720aeeb
No known key found for this signature in database
GPG Key ID: A26A8880836E1978
1 changed files with 1 additions and 1 deletions

View File

@ -4151,7 +4151,7 @@ public class ProfileActivity extends BaseFragment implements NotificationCenter.
participant.inviter_id = participant.channelParticipant.inviter_id;
participant.user_id = MessageObject.getPeerId(participant.channelParticipant.peer);
participant.date = participant.channelParticipant.date;
if (participant.user_id != 0 && participantsMap.indexOfKey(participant.user_id) < 0) {
if (participantsMap.indexOfKey(participant.user_id) < 0) {
if (chatInfo.participants == null) {
chatInfo.participants = new TLRPC.TL_chatParticipants();
}