aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-07-05 19:55:09 -0700
committerFriendika <info@friendika.com>2011-07-05 19:55:09 -0700
commitd7154a4606d8c6f86b2eacd35c16893283b484c4 (patch)
tree8d01bc0ed5bf767a05ff5c447af1f58a2a3a4b90 /mod
parent76e56fd44e4a8b43bdf42fae64484e5bb69dd450 (diff)
downloadvolse-hubzilla-d7154a4606d8c6f86b2eacd35c16893283b484c4.tar.gz
volse-hubzilla-d7154a4606d8c6f86b2eacd35c16893283b484c4.tar.bz2
volse-hubzilla-d7154a4606d8c6f86b2eacd35c16893283b484c4.zip
ability to link contacts that are "really me, but on another system/network".
Diffstat (limited to 'mod')
-rw-r--r--mod/dfrn_notify.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/mod/dfrn_notify.php b/mod/dfrn_notify.php
index 90d2e4004..0dc96f8a7 100644
--- a/mod/dfrn_notify.php
+++ b/mod/dfrn_notify.php
@@ -747,6 +747,12 @@ function dfrn_notify_post(&$a) {
continue;
}
+ // This is my contact on another system, but it's really me.
+ // Turn this into a wall post.
+
+ if($contact['remote_self'])
+ $datarray['wall'] = 1;
+
$datarray['parent-uri'] = $item_id;
$datarray['uid'] = $importer['importer_uid'];
$datarray['contact-id'] = $importer['id'];