You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-12-11 19:37:30 +03:00
Use v1 prefix for /hierarchy API, falling back to both previous variants (#2022)
This commit is contained in:
committed by
GitHub
parent
e4d3124e72
commit
6ac84a2465
@@ -112,7 +112,7 @@ export class RoomHierarchy {
|
||||
if (!this.backRefs.has(childRoomId)) {
|
||||
this.backRefs.set(childRoomId, []);
|
||||
}
|
||||
this.backRefs.get(childRoomId).push(ev.room_id);
|
||||
this.backRefs.get(childRoomId).push(room.room_id);
|
||||
|
||||
// fill viaMap
|
||||
if (Array.isArray(ev.content.via)) {
|
||||
|
||||
Reference in New Issue
Block a user