diff options
author | zotlabs <mike@macgirvin.com> | 2017-04-11 20:17:22 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-04-11 20:17:22 -0700 |
commit | 1609473e5d1bd9b131e61d41b6123669e7b8885d (patch) | |
tree | 730760877373c9b4ad0487b1f6f729a3400ec668 /boot.php | |
parent | ed8e4962b9c589941534b702efe0bc3fac628a95 (diff) | |
download | volse-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-x | boot.php | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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' ); |