Skip to content
This repository has been archived by the owner on Dec 12, 2022. It is now read-only.

[MXKRoomDataSource] Warning: The user does not know the room XXX #849

Closed
d232b57 opened this issue Jul 9, 2021 · 1 comment
Closed

[MXKRoomDataSource] Warning: The user does not know the room XXX #849

d232b57 opened this issue Jul 9, 2021 · 1 comment

Comments

@d232b57
Copy link

d232b57 commented Jul 9, 2021

Describe the bug
By following the MatrixSDK use case 4, I can post a text message to a room.
But by following the MatrixKit use case 1, an error occurred "[MXKRoomDataSource] Warning: The user does not know the room XXX".

To Reproduce

MXKRoomDataSourceManager *roomDataSourceManager = [MXKRoomDataSourceManager sharedManagerForMatrixSession:SESSION];
MXKRoomViewController *roomViewController = [[MXKRoomViewController alloc] init];

[roomDataSourceManager roomDataSourceForRoom:ROOM_ID create:YES onComplete:^(MXKRoomDataSource *roomDataSource) {
    [roomViewController displayRoom:roomDataSource];
    [UIApp.keyWindow.rootViewController presentViewController:roomViewController animated:YES completion:nil];
}];

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: iPad mini 4
  • OS: iOS14.0
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@d232b57
Copy link
Author

d232b57 commented Jul 9, 2021

Encrypted rooms not supported! #783

@d232b57 d232b57 closed this as completed Jul 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant