diff options
author | zotlabs <mike@macgirvin.com> | 2017-04-11 20:17:22 -0700 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-04-12 07:04:22 +0200 |
commit | 7b173a75e47cfdf9f46b7d635df84b2be286b0e6 (patch) | |
tree | 240f259b9cdff0a495b1bc5abf7c74a9105a6beb /boot.php | |
parent | cb5a047e5d111a6504bfb355f8494a6a8abe9118 (diff) | |
download | volse-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-x | boot.php | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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' ); |