mirror of
https://github.com/friendica/friendica
synced 2024-12-23 06:00:15 +00:00
don't notify failed FB delivery of likes, which have no id.
This commit is contained in:
parent
558962169f
commit
2fcb5922c3
2 changed files with 4 additions and 3 deletions
|
@ -438,7 +438,7 @@ function facebook_post_hook(&$a,&$b) {
|
|||
logger('facebook reply id=' . $reply);
|
||||
}
|
||||
|
||||
if($b['private'] && $reply == false) {
|
||||
if($b['private'] && $reply === false) {
|
||||
$allow_people = expand_acl($b['allow_cid']);
|
||||
$allow_groups = expand_groups(expand_acl($b['allow_gid']));
|
||||
$deny_people = expand_acl($b['deny_cid']);
|
||||
|
@ -636,6 +636,7 @@ function facebook_post_hook(&$a,&$b) {
|
|||
}
|
||||
else {
|
||||
// FIXME queue the message so we can attempt to redeliver, see include/notifier.php and include/queue.php
|
||||
if(! $likes)
|
||||
notice( t('Facebook delivery failed.') . EOL);
|
||||
}
|
||||
|
||||
|
|
2
boot.php
2
boot.php
|
@ -4,7 +4,7 @@ set_time_limit(0);
|
|||
ini_set('pcre.backtrack_limit', 250000);
|
||||
|
||||
|
||||
define ( 'FRIENDIKA_VERSION', '2.2.998' );
|
||||
define ( 'FRIENDIKA_VERSION', '2.2.999' );
|
||||
define ( 'DFRN_PROTOCOL_VERSION', '2.21' );
|
||||
define ( 'DB_UPDATE_VERSION', 1059 );
|
||||
|
||||
|
|
Loading…
Reference in a new issue