From ee6096cca82cc39055c521bd575f522c78e05c99 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Mon, 5 Oct 2015 11:28:33 +0200 Subject: [PATCH] FIXME: Diaspora has its own salmon slap semantics --- plugins/Diaspora/DiasporaPlugin.php | 3 +++ 1 file changed, 3 insertions(+) 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');