mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-22 04:43:40 +00:00
Fix the hash generation in IFTTT (#702)
This commit is contained in:
parent
48e4475ad7
commit
46222ae13b
1 changed files with 1 additions and 1 deletions
|
@ -181,7 +181,7 @@ function ifttt_message($uid, $item)
|
||||||
//$_REQUEST['uri'] = $item['url'];
|
//$_REQUEST['uri'] = $item['url'];
|
||||||
|
|
||||||
if (strstr($item['url'], 'facebook.com')) {
|
if (strstr($item['url'], 'facebook.com')) {
|
||||||
$hash = hash('ripemd128', item['url']);
|
$hash = hash('ripemd128', $item['url']);
|
||||||
$_REQUEST['extid'] = Protocol::FACEBOOK;
|
$_REQUEST['extid'] = Protocol::FACEBOOK;
|
||||||
$_REQUEST['message_id'] = Item::newURI($uid, Protocol::FACEBOOK . ':' . $hash);
|
$_REQUEST['message_id'] = Item::newURI($uid, Protocol::FACEBOOK . ':' . $hash);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue