Ver código fonte

Fix an issue with joining room for a regular user

Signed-off-by: Mario Danic <mario@lovelyhq.com>
Mario Danic 6 anos atrás
pai
commit
65e17f1dca

+ 1 - 1
app/src/main/java/com/nextcloud/talk/controllers/ConversationsListController.java

@@ -581,7 +581,7 @@ public class ConversationsListController extends BaseController implements Searc
             }
 
             Bundle bundle = new Bundle();
-            bundle.putParcelable(BundleKeys.KEY_USER_ENTITY, Parcels.wrap(currentUser));
+            bundle.putParcelable(BundleKeys.KEY_USER_ENTITY, currentUser);
             bundle.putString(BundleKeys.KEY_ROOM_TOKEN, conversation.getToken());
             bundle.putString(BundleKeys.KEY_ROOM_ID, conversation.getRoomId());