allow plugin to abort message posting, fix half-duplex D* relationship

This commit is contained in:
friendica 2012-01-30 20:49:54 -08:00
parent 95878a3e84
commit 4993f4f1d6
3 changed files with 22 additions and 0 deletions

View file

@ -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;
}