diff options
author | friendica <info@friendica.com> | 2012-01-30 20:49:54 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-01-30 20:49:54 -0800 |
commit | 4993f4f1d63bd82a6964d6a55bb364d2c7514df4 (patch) | |
tree | 33780bc55bf339db37e3fb55a68c8c85aa584578 /mod/dfrn_confirm.php | |
parent | 95878a3e848f2498b2cb4ac39c7dd5879456e913 (diff) | |
download | volse-hubzilla-4993f4f1d63bd82a6964d6a55bb364d2c7514df4.tar.gz volse-hubzilla-4993f4f1d63bd82a6964d6a55bb364d2c7514df4.tar.bz2 volse-hubzilla-4993f4f1d63bd82a6964d6a55bb364d2c7514df4.zip |
allow plugin to abort message posting, fix half-duplex D* relationship
Diffstat (limited to 'mod/dfrn_confirm.php')
-rwxr-xr-x | mod/dfrn_confirm.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mod/dfrn_confirm.php b/mod/dfrn_confirm.php index 89b09ef77..26314f39b 100755 --- a/mod/dfrn_confirm.php +++ b/mod/dfrn_confirm.php @@ -370,6 +370,9 @@ function dfrn_confirm_post(&$a,$handsfree = null) { if($network === NETWORK_DIASPORA) { if($duplex) $new_relation = CONTACT_IS_FRIEND; + else + $new_relation = CONTACT_IS_SHARING; + if($new_relation != CONTACT_IS_FOLLOWER) $writable = 1; } |