diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-09-04 18:26:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-04 18:26:33 +0200 |
commit | 9b50a9dd835c3a08effc86a6ef3e29e3a16e3d27 (patch) | |
tree | b98173b3fe233f2d4d61c1f8caaac7f32b27f572 /app/models/session_activation.rb | |
parent | 2293466edd0972c2069628c55baec9b0cb861445 (diff) |
Fix some ActivityPub JSON bugs (#4796)
- Fix assumption that `url` is always a string. Handle it if it's an array of strings, array of objects, object, or string, both for accounts and for objects - `sharedInbox` is actually supposed to be under `endpoints`, handle both cases and adjust the serializer
Diffstat (limited to 'app/models/session_activation.rb')
0 files changed, 0 insertions, 0 deletions