Skip to content

mediaUpload: only post to outbox if it's a Create activity? #239

Closed
@puckipedia

Description

@puckipedia

mediaUpload, when posting any object, also posts it into the outbox. This is an issue, because you can only upload one file at a time. So you can't make e.g. a 4-picture post?

Per IRC:

<puckipedia> maybe if it's a Create activity, post it into the outbox, else just give it an ID?
<cwebber2> so you'd need an extra boolean in the form
<cwebber2> puckipedia: so make a {Video} as opposed to {Create: {Video}} ?
<puckipedia> well, if you send it as {Create: {Video}} it's post it into the outbox. if you send {Video} it only gives it an ID
<cwebber2> right, the id of the Video only
<cwebber2> but not post it wrapped in the Create to the outbox

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions