Receiving was tested, sending is implemented and tested as well, currently unused

This commit is contained in:
Michael 2018-04-02 12:53:48 +00:00
parent f51a254ed0
commit 0594f13c35
3 changed files with 42 additions and 4 deletions

View file

@ -3205,7 +3205,7 @@ class Diaspora
*
* @return string The message that will be transmitted to other servers
*/
private static function buildMessage($msg, $user, $contact, $prvkey, $pubkey, $public = false)
public static function buildMessage($msg, $user, $contact, $prvkey, $pubkey, $public = false)
{
// The message is put into an envelope with the sender's signature
$envelope = self::buildMagicEnvelope($msg, $user);