]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
FIXME: Diaspora has its own salmon slap semantics
authorMikael Nordfeldth <mmn@hethane.se>
Mon, 5 Oct 2015 09:28:33 +0000 (11:28 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Mon, 5 Oct 2015 09:32:10 +0000 (11:32 +0200)
plugins/Diaspora/DiasporaPlugin.php

index 6f955fadcf72cb5cb70c0711dc133ea9e5a6bb8f..616323250f18409f87c315bded5575cebd91a22e 100644 (file)
@@ -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 <atom:entry> 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');