element-hq / riot-android

A glossy Matrix collaboration client for Android
Apache License 2.0
1.4k stars 394 forks source link

Direct chat room item missing #3489

Open wekhrozomedo opened 4 years ago

wekhrozomedo commented 4 years ago

Logcat: E/ReadMarkerManager: updateJumpToBanner: Read marker event id is invalid, ignore it as it should not occur E/Room: ## sendReadMarkers() : invalid event id $b2uHWBL2qPsmuowUnO_qHB26cqfWKZo9jkhyg4RcF9Q E/RoomSummary: isSupportedEvent : Unsupported event type m.room.member

And later throws NullPointerException when I open the room: File from VectorRoomCreationActivity.java lines 393

https://github.com/vector-im/riot-android/blob/develop/vector/src/main/java/im/vector/activity/VectorRoomCreationActivity.java#L393

// room.getActiveMembersAsync(new SimpleApiCallback<List>(callback) { @Override public void onSuccess(List members) { // test if the member did not leave the room for (RoomMember member : members) { if (TextUtils.equals(member.getUserId(), aUserId)) { Log.d(LOG_TAG, "## doesDirectChatRoomAlreadyExist(): for user=" + aUserId + " roomFound=" + roomIdsList.get(index)); callback.onSuccess(roomIdsList.get(index)); return; } } doesDirectChatRoomAlreadyExistRecursive(roomIdsList, index + 1, aUserId, callback); } });