-
- -
- this.onTagRoom(e, DefaultTagID.Favourite)}>
-
- {_t("Favourite")}
-
-
- -
- this.onTagRoom(e, DefaultTagID.LowPriority)}>
-
- {_t("Low Priority")}
-
-
- -
-
-
- {_t("Settings")}
-
-
-
+
this.onTagRoom(e, DefaultTagID.Favourite)}>
+
+ {_t("Favourite")}
+
+
+
+ {_t("Settings")}
+
-
-
- -
-
-
- {_t("Leave Room")}
-
-
-
+
+
+
+ {_t("Leave Room")}
+
@@ -234,7 +354,7 @@ export default class RoomTile2 extends React.Component
{
const classes = classNames({
'mx_RoomTile2': true,
'mx_RoomTile2_selected': this.state.selected,
- 'mx_RoomTile2_hasMenuOpen': this.state.generalMenuDisplayed,
+ 'mx_RoomTile2_hasMenuOpen': this.state.generalMenuDisplayed || this.state.notificationsMenuDisplayed,
'mx_RoomTile2_minimized': this.props.isMinimized,
});
@@ -285,7 +405,7 @@ export default class RoomTile2 extends React.Component {
const avatarSize = 32;
return (
-
+
{({onFocus, isActive, ref}) =>
{
{badge}
+ {this.renderNotificationsMenu()}
{this.renderGeneralMenu()}
}
diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json
index 9ecd747be9..b23264a297 100644
--- a/src/i18n/strings/en_EN.json
+++ b/src/i18n/strings/en_EN.json
@@ -1218,8 +1218,11 @@
"%(count)s unread messages.|one": "1 unread message.",
"Unread mentions.": "Unread mentions.",
"Unread messages.": "Unread messages.",
+ "Use default": "Use default",
+ "All messages": "All messages",
+ "Mentions & Keywords": "Mentions & Keywords",
+ "Notification options": "Notification options",
"Favourite": "Favourite",
- "Low Priority": "Low Priority",
"Leave Room": "Leave Room",
"Room options": "Room options",
"Add a topic": "Add a topic",
@@ -1897,10 +1900,10 @@
"Failed to forget room %(errCode)s": "Failed to forget room %(errCode)s",
"Notification settings": "Notification settings",
"All messages (noisy)": "All messages (noisy)",
- "All messages": "All messages",
"Mentions only": "Mentions only",
"Leave": "Leave",
"Forget": "Forget",
+ "Low Priority": "Low Priority",
"Direct Chat": "Direct Chat",
"Clear status": "Clear status",
"Update status": "Update status",