]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
SHARE activities would not be imported from federated instances for local notices
authorMikael Nordfeldth <mmn@hethane.se>
Mon, 21 Oct 2013 20:28:17 +0000 (22:28 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Mon, 21 Oct 2013 21:25:43 +0000 (23:25 +0200)
commitba46c3d360c52b5363ce0d63828771d5c57be6e2
treea1acded96eb9e49ea485b9af9b10864feb9bb397
parent355c37bc3fe30511b0e36d8c6078fb8dd5004e14
SHARE activities would not be imported from federated instances for local notices

"[...] posts _local_ users (like you) make won't get data about "repeated by"
from federated users"

This was because the ActivityObject would processShare where the shared object
has a _local_ 'actor' URI. Ostatus_profile would complain this meant that a
"Local user cannot be referenced as remote.".

So we see if the shared activity object's id (URI) is in our Notice table, so
we don't have to processActivity - and can skip ensureActivityObjectProfile.
plugins/OStatus/classes/Ostatus_profile.php