Fixed handling of URLs on Pushbullet notes

This commit is contained in:
Fabio Manganiello 2021-11-26 19:07:44 +01:00
parent 848b736d6e
commit 1e1bf46f32
Signed by untrusted user: blacklight
GPG key ID: D90FBA7F76362774

View file

@ -97,7 +97,10 @@ class PushbulletPlugin(Plugin):
kwargs['body'] = body
kwargs['title'] = title
kwargs['type'] = 'link' if url else 'note'
kwargs['type'] = 'note'
if url:
kwargs['type'] = 'link'
kwargs['url'] = url
if device:
# noinspection PyTypeChecker