mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 02:05:19 +02:00
allow plugin to abort message posting, fix half-duplex D* relationship
This commit is contained in:
parent
95878a3e84
commit
4993f4f1d6
3 changed files with 22 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue