1
0
mirror of https://github.com/nikoksr/notify.git synced 2024-11-24 08:22:18 +02:00

Update pushbullet.go

This commit is contained in:
KrishanBhalla 2021-02-01 12:05:38 +00:00 committed by GitHub
parent 3ba5639feb
commit 1cbd539b24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,9 +25,9 @@ func New(apiToken string) *Pushbullet {
return pb return pb
} }
// AddReceivers takes Pushbulletdevice nicknames and adds them to the internal deviceNicknames list. The Send method will send // AddReceivers takes Pushbullet device nicknames and adds them to the internal deviceNicknames list.
// a given message to all those devices a matching one be registered. // The Send method will send a given message to all those devices a matching one be registered.
// We only add registered devices // We only add registered devices.
func (pb *Pushbullet) AddReceivers(deviceNicknames ...string) { func (pb *Pushbullet) AddReceivers(deviceNicknames ...string) {
devices := []string{} devices := []string{}