aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-04-11 20:17:22 -0700
committerzotlabs <mike@macgirvin.com>2017-04-11 20:17:22 -0700
commit1609473e5d1bd9b131e61d41b6123669e7b8885d (patch)
tree730760877373c9b4ad0487b1f6f729a3400ec668 /boot.php
parented8e4962b9c589941534b702efe0bc3fac628a95 (diff)
downloadvolse-hubzilla-1609473e5d1bd9b131e61d41b6123669e7b8885d.tar.gz
volse-hubzilla-1609473e5d1bd9b131e61d41b6123669e7b8885d.tar.bz2
volse-hubzilla-1609473e5d1bd9b131e61d41b6123669e7b8885d.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 206ba0bc9..436fcabd9 100755
--- a/boot.php
+++ b/boot.php
@@ -479,6 +479,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' );