Merge pull request #5886 from matrix-org/dbkr/asserted_identity

Support MSC3086 asserted identity
This commit is contained in:
David Baker
2021-04-28 09:47:40 +01:00
committed by GitHub
10 changed files with 315 additions and 19 deletions

View File

@@ -55,6 +55,15 @@ export default class DMRoomMap {
return DMRoomMap.sharedInstance;
}
/**
* Set the shared instance to the instance supplied
* Used by tests
* @param inst the new shared instance
*/
public static setShared(inst: DMRoomMap) {
DMRoomMap.sharedInstance = inst;
}
/**
* Returns a shared instance of the class
* that uses the singleton matrix client