Rocket.Chat.Android
Rocket.Chat.Android copied to clipboard
/api/v1/rooms.get failing to load channels on app launch
Describe the bug
This is more a bug report than an issue right now as I'm not sure what's causing this. The list of channels do not show up when app is launched. Apache log show HTTP 400 when trying to GET /api/v1/rooms.get.
Running the API call in Postman results in "Cannot read property 'username' of undefined" This was resolved by pruning the channel.
In that channel, all messages had a valid user (so not messages that were sent by a deleted user). It also had messages about BitBucket pull requests sent by Rocket.Cat using the BitBucket integration app from the Marketplace.
Devices and Versions
Your Rocket.Chat.Android version: 3.4.2 (2070) Your Rocket.Chat Server version: 1.2.1