Bring over email address management

This commit is contained in:
Travis Ralston 2019-01-22 15:18:14 -07:00
parent fa1ce61a06
commit aa7afe819f
11 changed files with 342 additions and 11 deletions

View file

@ -26,7 +26,7 @@ import { _t } from './languageHandler';
* the client owns the given email address, which is then passed to the
* add threepid API on the homeserver.
*/
class AddThreepid {
export default class AddThreepid {
constructor() {
this.clientSecret = MatrixClientPeg.get().generateClientSecret();
}
@ -124,5 +124,3 @@ class AddThreepid {
});
}
}
module.exports = AddThreepid;