Explain why the breadcrumbs don't need persisting elsewhere
This commit is contained in:
parent
bf0605cf84
commit
43362bfb98
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue