Comment getEmailPusher
parent
6a596f034f
commit
6dd530e2a4
|
@ -78,6 +78,12 @@ module.exports = {
|
||||||
return cli.setPassword(authDict, new_password);
|
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) {
|
getEmailPusher: function(pushers, address) {
|
||||||
if (pushers === undefined) {
|
if (pushers === undefined) {
|
||||||
return undefined;
|
return undefined;
|
||||||
|
|
Loading…
Reference in New Issue