Fix the hash generation in IFTTT

This commit is contained in:
Michael 2018-08-13 18:50:55 +00:00
parent 48e4475ad7
commit bbebc8a9ff

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);
}