Fix the hash generation in IFTTT #702

Merged
annando merged 1 commits from fix-ifttt into develop 2018-08-14 03:53:30 +02:00
1 changed files with 1 additions and 1 deletions

View File

@ -181,7 +181,7 @@ function ifttt_message($uid, $item)
//$_REQUEST['uri'] = $item['url'];
if (strstr($item['url'], 'facebook.com')) {
$hash = hash('ripemd128', item['url']);
$hash = hash('ripemd128', $item['url']);
$_REQUEST['extid'] = Protocol::FACEBOOK;
$_REQUEST['message_id'] = Item::newURI($uid, Protocol::FACEBOOK . ':' . $hash);
}