From: Mikael Nordfeldth Date: Mon, 5 Oct 2015 09:28:33 +0000 (+0200) Subject: FIXME: Diaspora has its own salmon slap semantics X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ee6096cca82cc39055c521bd575f522c78e05c99;p=quix0rs-gnu-social.git FIXME: Diaspora has its own salmon slap semantics --- diff --git a/plugins/Diaspora/DiasporaPlugin.php b/plugins/Diaspora/DiasporaPlugin.php index 6f955fadcf..616323250f 100644 --- a/plugins/Diaspora/DiasporaPlugin.php +++ b/plugins/Diaspora/DiasporaPlugin.php @@ -204,6 +204,9 @@ class DiasporaPlugin extends Plugin * 2. Base64-encode the encrypted payload message. */ $payload = $inner_key->encrypt($magic_env->getData()); + //FIXME: This means we don't actually put an in the payload, + // since Diaspora has its own update method! Silly me. Read up on: + // https://wiki.diasporafoundation.org/Federation_Message_Semantics $magic_env->signMessage(base64_encode($payload), 'application/xml');