aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-09-21 23:13:43 +0200
committerMario Vavti <mario@mariovavti.com>2017-09-21 23:13:43 +0200
commit234e9476fbd7fabaae3c891c9791c7c0e60b2d7a (patch)
tree663d77a29fcc027f0ca7a102649453d65a075557
parenta7d339be5a80bd9b6d3c9441f37f4ad33d8afa84 (diff)
parentb745a143c3e622705a73f083dc3adbaf28787061 (diff)
downloadvolse-hubzilla-234e9476fbd7fabaae3c891c9791c7c0e60b2d7a.tar.gz
volse-hubzilla-234e9476fbd7fabaae3c891c9791c7c0e60b2d7a.tar.bz2
volse-hubzilla-234e9476fbd7fabaae3c891c9791c7c0e60b2d7a.zip
Merge remote-tracking branch 'mike/master' into dev
-rwxr-xr-xboot.php11
1 files changed, 10 insertions, 1 deletions
diff --git a/boot.php b/boot.php
index 51985a2a5..2940aba54 100755
--- a/boot.php
+++ b/boot.php
@@ -456,7 +456,16 @@ define ( 'NAMESPACE_STATUSNET', 'http://status.net/schema/api/1/' );
define ( 'NAMESPACE_ATOM1', 'http://www.w3.org/2005/Atom' );
define ( 'NAMESPACE_YMEDIA', 'http://search.yahoo.com/mrss/' );
-define ( 'ACTIVITYSTREAMS_JSONLD_REV', 'https://www.w3.org/ns/activitystreams-history/v1.8.jsonld' );
+// We should be using versioned jsonld contexts so that signatures will be slightly more reliable.
+// Why signatures are unreliable by design is a problem nobody seems to care about
+// "because it's a proposed W3C standard". .
+
+// Anyway, if you use versioned contexts, communication with Mastodon fails. Have not yet investigated
+// the reason for the dependency but for the current time, use the standard non-versioned context.
+//define ( 'ACTIVITYSTREAMS_JSONLD_REV', 'https://www.w3.org/ns/activitystreams-history/v1.8.jsonld' );
+
+define ( 'ACTIVITYSTREAMS_JSONLD_REV', 'https://www.w3.org/ns/activitystreams' );
+
define ( 'ZOT_APSCHEMA_REV', '/apschema/v1.2' );
/**
* activity stream defines