mirror of
https://github.com/nextcloud/talk-android
synced 2025-02-01 20:22:03 +00:00
Fix issue with missing participants
This commit is contained in:
parent
c49c03e0b1
commit
1c5c37f9a5
@ -187,7 +187,7 @@ public class ConversationInfoController extends BaseController {
|
|||||||
participant = participants.get(i);
|
participant = participants.get(i);
|
||||||
userItem = new UserItem(participant, conversationUser, null);
|
userItem = new UserItem(participant, conversationUser, null);
|
||||||
userItem.setEnabled(!participant.getSessionId().equals("0"));
|
userItem.setEnabled(!participant.getSessionId().equals("0"));
|
||||||
if (!TextUtils.isEmpty(participant.getUserId()) && !participant.getUserId().equals(conversationUser.getUserId())) {
|
if (!TextUtils.isEmpty(participant.getUserId()) && participant.getUserId().equals(conversationUser.getUserId())) {
|
||||||
ownUserItem = userItem;
|
ownUserItem = userItem;
|
||||||
} else {
|
} else {
|
||||||
recyclerViewItems.add(userItem);
|
recyclerViewItems.add(userItem);
|
||||||
@ -196,7 +196,7 @@ public class ConversationInfoController extends BaseController {
|
|||||||
|
|
||||||
|
|
||||||
if (ownUserItem != null) {
|
if (ownUserItem != null) {
|
||||||
recyclerViewItems.add(ownUserItem);
|
recyclerViewItems.add(0, ownUserItem);
|
||||||
}
|
}
|
||||||
|
|
||||||
setupAdapter();
|
setupAdapter();
|
||||||
|
Loading…
Reference in New Issue
Block a user