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
commit c95c1aeffd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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