From 53d787f90a3b53342752a05fc21c718331d97d38 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/fhem@8252 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- FHEM/70_Pushbullet.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/FHEM/70_Pushbullet.pm b/FHEM/70_Pushbullet.pm index c4afb5210..3e4b98444 100755 --- a/FHEM/70_Pushbullet.pm +++ b/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};