Added documentation
This commit is contained in:
parent
9c4bf6b0d5
commit
2ee8d1694f
1 changed files with 3 additions and 3 deletions
|
@ -4,8 +4,8 @@
|
||||||
* @brief The implementation of the diaspora protocol
|
* @brief The implementation of the diaspora protocol
|
||||||
*
|
*
|
||||||
* The new protocol is described here: http://diaspora.github.io/diaspora_federation/index.html
|
* The new protocol is described here: http://diaspora.github.io/diaspora_federation/index.html
|
||||||
* Currently this implementation here interprets the old and the new protocol and sends the old one.
|
* This implementation here interprets the old and the new protocol and sends the new one.
|
||||||
* This will change in the future.
|
* In the future we will remove most stuff from "valid_posting" and interpret only the new protocol.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
use Friendica\App;
|
use Friendica\App;
|
||||||
|
@ -2883,7 +2883,7 @@ class Diaspora {
|
||||||
$new = Config::get('system', 'new_diaspora', null, true);
|
$new = Config::get('system', 'new_diaspora', null, true);
|
||||||
|
|
||||||
if ($new) {
|
if ($new) {
|
||||||
if ($public) {
|
if (!$public) {
|
||||||
$msg = Diaspora::encode_private_data($msg, $user, $contact, $prvkey, $pubkey);
|
$msg = Diaspora::encode_private_data($msg, $user, $contact, $prvkey, $pubkey);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue