1
0
mirror of https://github.com/nikoksr/notify.git synced 2025-02-07 13:08:12 +02:00

Update service/pushbullet/pushbullet.go

Co-authored-by: Niko Köser <koeserniko@gmail.com>
This commit is contained in:
KrishanBhalla 2021-02-01 19:20:19 +00:00 committed by GitHub
parent ccaf02c352
commit 4383388f28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,11 +37,8 @@ func (pb *Pushbullet) AddReceivers(deviceNicknames ...string) {
// (android, chrome, firefox, windows)
// see https://www.pushbullet.com/apps
func (pb Pushbullet) Send(subject, message string) error {
for _, deviceNickname := range pb.deviceNicknames {
dev, err := pb.client.Device(deviceNickname)
if err != nil {
// Unregistered devices should not result in a failure for all others
continue