forked from platypush/platypush
Fixed handling of URLs on Pushbullet notes
This commit is contained in:
parent
848b736d6e
commit
1e1bf46f32
1 changed files with 4 additions and 1 deletions
|
@ -97,7 +97,10 @@ class PushbulletPlugin(Plugin):
|
||||||
|
|
||||||
kwargs['body'] = body
|
kwargs['body'] = body
|
||||||
kwargs['title'] = title
|
kwargs['title'] = title
|
||||||
kwargs['type'] = 'link' if url else 'note'
|
kwargs['type'] = 'note'
|
||||||
|
if url:
|
||||||
|
kwargs['type'] = 'link'
|
||||||
|
kwargs['url'] = url
|
||||||
|
|
||||||
if device:
|
if device:
|
||||||
# noinspection PyTypeChecker
|
# noinspection PyTypeChecker
|
||||||
|
|
Loading…
Reference in a new issue