From f2ff207ea9c3db19e5c80c3c1c97931708ff44a3 Mon Sep 17 00:00:00 2001 From: fhainz <> Date: Sat, 21 Mar 2015 13:07:00 +0000 Subject: [PATCH] 70_Pushbullet.pm: allow skype: in links git-svn-id: https://svn.fhem.de/fhem/trunk@8252 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/70_Pushbullet.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fhem/FHEM/70_Pushbullet.pm b/fhem/FHEM/70_Pushbullet.pm index c4afb5210..3e4b98444 100755 --- a/fhem/FHEM/70_Pushbullet.pm +++ b/fhem/FHEM/70_Pushbullet.pm @@ -163,7 +163,8 @@ sub Pushbullet_Set($@) { ($link, $title, $deviceNick, $deviceIden, $deviceEmail) = Pushbullet_checkArgs($hash, $cmd, @setValues); # Link check - return "URL is not valid. Correct sytax: set " . $name . " link http://www.google.com [| Title | Device] " if( $link !~ /^(http|https):\/\// ); + return "URL is not valid. Correct sytax: set " . $name . " link http://www.google.com [| Title | Device] " + if( $link !~ /^(http|https):\/\/.*/ && $link !~ /^skype:.*/ ); # Push geht an Device $jsonHash = {'type' => 'link', 'device_iden' => $deviceIden, 'title' => $title, 'url' => $link};