diff --git a/app/views/RoomView/RightButtons.tsx b/app/views/RoomView/RightButtons.tsx index 9c357985b..0552c2bc8 100644 --- a/app/views/RoomView/RightButtons.tsx +++ b/app/views/RoomView/RightButtons.tsx @@ -47,6 +47,7 @@ interface IRightButtonsProps extends Pick { theme?: TSupportedThemes; colors?: TColors; highlightTroubleshooting: boolean; + disableNotifications?: boolean; } interface IRigthButtonsState { @@ -95,7 +96,7 @@ class RightButtonsContainer extends Component - + {highlightTroubleshooting || disableNotifications ? ( + + ) : null} {rid ? : null} {threadsEnabled ? ( { toggleFollowThread={this.toggleFollowThread} showActionSheet={this.showActionSheet} departmentId={departmentId} + // The properties of notification are saved on the object of room too + // @ts-ignore + disableNotifications={room.disableNotifications} /> ) });