1
0
Fork 0

infrastructure for personalised @ tags (no UI/settings form yet), allow own comments through statusnet connector

This commit is contained in:
Friendika 2011-09-01 18:02:08 -07:00
commit a33edb0042
7 changed files with 19 additions and 9 deletions

View file

@ -355,7 +355,10 @@ function statusnet_post_hook(&$a,&$b) {
logger('StatusNet post invoked');
if((local_user()) && (local_user() == $b['uid']) && (! $b['private']) && (!$b['parent']) ) {
if((local_user()) && (local_user() == $b['uid']) && (! $b['private'])) {
// mike 2-9-11 there was a restriction to only allow this for top level posts
// now relaxed so should allow one's own comments to be forwarded through the connector as well.
// Status.Net is not considered a private network
if($b['prvnets'])