kopia lustrzana https://github.com/friendica/friendica
FB reply if replying to local post originally posted to FB
rodzic
4f920e5a61
commit
7942192e20
|
@ -389,6 +389,8 @@ function facebook_post_hook(&$a,&$b) {
|
||||||
);
|
);
|
||||||
if(count($r) && substr($r[0]['uri'],0,4) === 'fb::')
|
if(count($r) && substr($r[0]['uri'],0,4) === 'fb::')
|
||||||
$reply = substr($r[0]['uri'],4);
|
$reply = substr($r[0]['uri'],4);
|
||||||
|
elseif(count($r) && substr($r[0]['extid'],0,4) === 'fb::')
|
||||||
|
$reply = substr($r[0]['extid'],4);
|
||||||
else
|
else
|
||||||
return;
|
return;
|
||||||
logger('facebook reply id=' . $reply);
|
logger('facebook reply id=' . $reply);
|
||||||
|
|
2
boot.php
2
boot.php
|
@ -4,7 +4,7 @@ set_time_limit(0);
|
||||||
ini_set('pcre.backtrack_limit', 250000);
|
ini_set('pcre.backtrack_limit', 250000);
|
||||||
|
|
||||||
|
|
||||||
define ( 'FRIENDIKA_VERSION', '2.2.978' );
|
define ( 'FRIENDIKA_VERSION', '2.2.979' );
|
||||||
define ( 'DFRN_PROTOCOL_VERSION', '2.21' );
|
define ( 'DFRN_PROTOCOL_VERSION', '2.21' );
|
||||||
define ( 'DB_UPDATE_VERSION', 1054 );
|
define ( 'DB_UPDATE_VERSION', 1054 );
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue