1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-05 23:10:41 +03:00

Comment getEmailPusher

This commit is contained in:
David Baker
2016-05-04 09:41:36 +01:00
parent 6a596f034f
commit 6dd530e2a4

View File

@@ -78,6 +78,12 @@ module.exports = {
return cli.setPassword(authDict, new_password);
},
/**
* Returns the email pusher (pusher of type 'email') for a given
* email address. Email pushers all have the same app ID, so since
* pushers are unique over (app ID, pushkey), there will be at most
* one such pusher.
*/
getEmailPusher: function(pushers, address) {
if (pushers === undefined) {
return undefined;