aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-04-11 20:17:22 -0700
committerMario Vavti <mario@mariovavti.com>2017-04-12 07:04:22 +0200
commit7b173a75e47cfdf9f46b7d635df84b2be286b0e6 (patch)
tree240f259b9cdff0a495b1bc5abf7c74a9105a6beb /boot.php
parentcb5a047e5d111a6504bfb355f8494a6a8abe9118 (diff)
downloadvolse-hubzilla-7b173a75e47cfdf9f46b7d635df84b2be286b0e6.tar.gz
volse-hubzilla-7b173a75e47cfdf9f46b7d635df84b2be286b0e6.tar.bz2
volse-hubzilla-7b173a75e47cfdf9f46b7d635df84b2be286b0e6.zip
correct the mastodon "boost" (aka 'share') author attribution by checking for share activities and pulling the original author info from the activity:object
Diffstat (limited to 'boot.php')
-rwxr-xr-xboot.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/boot.php b/boot.php
index 52b1113c1..6c2c144ce 100755
--- a/boot.php
+++ b/boot.php
@@ -486,6 +486,7 @@ define ( 'ACTIVITY_JOIN', NAMESPACE_ACTIVITY_SCHEMA . 'join' );
define ( 'ACTIVITY_POST', NAMESPACE_ACTIVITY_SCHEMA . 'post' );
define ( 'ACTIVITY_UPDATE', NAMESPACE_ACTIVITY_SCHEMA . 'update' );
define ( 'ACTIVITY_TAG', NAMESPACE_ACTIVITY_SCHEMA . 'tag' );
+define ( 'ACTIVITY_SHARE', NAMESPACE_ACTIVITY_SCHEMA . 'share' );
define ( 'ACTIVITY_FAVORITE', NAMESPACE_ACTIVITY_SCHEMA . 'favorite' );
define ( 'ACTIVITY_CREATE', NAMESPACE_ACTIVITY_SCHEMA . 'create' );
define ( 'ACTIVITY_WIN', NAMESPACE_ACTIVITY_SCHEMA . 'win' );