From c20efcde0376e9d3de8e33677e54837b2c5e301f Mon Sep 17 00:00:00 2001 From: Djorkaeff Alexandre Date: Fri, 21 Feb 2020 20:47:35 -0300 Subject: [PATCH] [REGRESSION] Thread header --- app/views/RoomView/index.js | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/app/views/RoomView/index.js b/app/views/RoomView/index.js index 94a2e79f28d..79c082b760e 100644 --- a/app/views/RoomView/index.js +++ b/app/views/RoomView/index.js @@ -366,11 +366,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') {