Skip to content

Add support for XEP-0363: HTTP File Upload - Upload Purpose #4589

Description

@edhelas

Version 1.2.0 of XEP-0363 introduced the long awaited feature Upload Purpose, this allows client to tell the server how long a file should be kept.

In Movim I'm currently using a "hack" by prefixing the files with chat_, story_, blog_... and run a cronjob to delete them after a while.

Some files uploaded by Movim, for example for the blog posts should be kept forever server side.

The cleaning of the files by ejabberd could be done directly be ejabberd internal cron or by an ejabberdctl command if an admin would prefer to run it using an external script.

Thanks again for the awesome work!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions