Unverified Commit 346d97bd authored by Djorkaeff Alexandre's avatar Djorkaeff Alexandre Committed by GitHub
Browse files

[FIX] Thread header (#1776)


Co-authored-by: default avatarDiego Mello <diegolmello@gmail.com>
parent e0d42302
......@@ -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 });
navigation.setParams({
name: this.getRoomTitle(room),
avatar: room.name,
t: room.t
});
if (!this.tmid) {
navigation.setParams({
name: this.getRoomTitle(room),
avatar: room.name,
t: room.t
});
}
this.observeRoom(room);
} catch (error) {
if (this.t !== 'd') {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment