Skip to content

Commit 175ade8

Browse files
committed
Merge branch 'develop' into travis/room-list/todo-cleanup
2 parents ee2c216 + a36a03b commit 175ade8

File tree

3 files changed

+3
-16
lines changed

3 files changed

+3
-16
lines changed

res/css/views/rooms/_RoomTile2.scss

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -194,10 +194,6 @@ limitations under the License.
194194
mask-image: url('$(res)/img/feather-customised/arrow-down.svg');
195195
}
196196

197-
.mx_RoomTile2_iconUser::before {
198-
mask-image: url('$(res)/img/feather-customised/user.svg');
199-
}
200-
201197
.mx_RoomTile2_iconSettings::before {
202198
mask-image: url('$(res)/img/feather-customised/settings.svg');
203199
}

src/components/views/rooms/RoomTile2.tsx

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -127,11 +127,8 @@ export default class RoomTile2 extends React.Component<IProps, IState> {
127127
ev.preventDefault();
128128
ev.stopPropagation();
129129

130-
if (tagId === DefaultTagID.DM) {
131-
// TODO: DM Flagging
132-
} else {
133-
// TODO: XOR favourites and low priority
134-
}
130+
// TODO: Support tagging: https://github.com/vector-im/riot-web/issues/14211
131+
// TODO: XOR favourites and low priority: https://github.com/vector-im/riot-web/issues/14210
135132
};
136133

137134
private onLeaveRoomClick = (ev: ButtonEvent) => {
@@ -188,12 +185,6 @@ export default class RoomTile2 extends React.Component<IProps, IState> {
188185
<span>{_t("Low Priority")}</span>
189186
</AccessibleButton>
190187
</li>
191-
<li>
192-
<AccessibleButton onClick={(e) => this.onTagRoom(e, DefaultTagID.DM)}>
193-
<span className="mx_IconizedContextMenu_icon mx_RoomTile2_iconUser" />
194-
<span>{_t("Direct Chat")}</span>
195-
</AccessibleButton>
196-
</li>
197188
<li>
198189
<AccessibleButton onClick={this.onOpenRoomSettings}>
199190
<span className="mx_IconizedContextMenu_icon mx_RoomTile2_iconSettings" />

src/i18n/strings/en_EN.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1220,7 +1220,6 @@
12201220
"Unread messages.": "Unread messages.",
12211221
"Favourite": "Favourite",
12221222
"Low Priority": "Low Priority",
1223-
"Direct Chat": "Direct Chat",
12241223
"Leave Room": "Leave Room",
12251224
"Room options": "Room options",
12261225
"Add a topic": "Add a topic",
@@ -1898,6 +1897,7 @@
18981897
"Mentions only": "Mentions only",
18991898
"Leave": "Leave",
19001899
"Forget": "Forget",
1900+
"Direct Chat": "Direct Chat",
19011901
"Clear status": "Clear status",
19021902
"Update status": "Update status",
19031903
"Set status": "Set status",

0 commit comments

Comments
 (0)