mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 05:55:00 +08:00
Explain why the breadcrumbs don't need persisting elsewhere
This commit is contained in:
parent
bf0605cf84
commit
43362bfb98
@ -242,6 +242,9 @@ export default class RoomBreadcrumbs extends React.Component {
|
||||
this.refs.scroller.moveToOrigin();
|
||||
}
|
||||
|
||||
// We don't track room aesthetics (badges, membership, etc) over the wire so we
|
||||
// don't need to do this elsewhere in the file. Just where we alter the room IDs
|
||||
// and their order.
|
||||
const roomIds = rooms.map((r) => r.room.roomId);
|
||||
if (roomIds.length > 0) {
|
||||
SettingsStore.setValue("breadcrumb_rooms", null, SettingLevel.ACCOUNT, roomIds);
|
||||
|
Loading…
Reference in New Issue
Block a user