[FIX] Thread header (#1776)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
This commit is contained in:
parent
e0d4230272
commit
346d97bdc8
|
@ -365,11 +365,13 @@ class RoomView extends React.Component {
|
|||
const subCollection = await db.collections.get('subscriptions');
|
||||
const room = await subCollection.find(rid);
|
||||
this.setState({ room });
|
||||
if (!this.tmid) {
|
||||
navigation.setParams({
|
||||
name: this.getRoomTitle(room),
|
||||
avatar: room.name,
|
||||
t: room.t
|
||||
});
|
||||
}
|
||||
this.observeRoom(room);
|
||||
} catch (error) {
|
||||
if (this.t !== 'd') {
|
||||
|
|
Loading…
Reference in New Issue