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:
parent
ccaf02c352
commit
4383388f28
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user