move DM invite responsiblity to the server side

This commit is contained in:
Germain Souquet 2021-04-14 19:59:17 +01:00
parent 8b2dc22fe1
commit 3b66821258
2 changed files with 28 additions and 17 deletions

View file

@ -90,6 +90,12 @@ export interface IOpts {
parentSpace?: Room;
}
export interface IInvite3PID {
id_server: string,
medium: 'email',
address: string,
}
/**
* Create a new room, and switch to it.
*