view mod_http_avatar/README.markdown @ 4975:733e5513f691

various: Use 0.12+ API for serving files from the file system over HTTP Using mod_http_files this way is deprecated. Having the base behavior in a separate module makes it easier to have a specialized module with coherent behavior that does not do things when not explicitly enabled.
author Kim Alvefur <zash@zash.se>
date Mon, 18 Jul 2022 13:58:27 +0200
parents c3b886331de7
children
line wrap: on
line source

---
summary: Serve avatars from HTTP
...

Introduction
============

This module serves avatars from local users who have one set in their
vCard, see XEP-0054 and XEP-0153.

Configuring
===========

Simply load the module.  Avatars are then available at
http://<host>:5280/avatar/<username>

    modules_enabled = {
        ...
        "http_avatar";
    }

Compatibility
=============

  ------- --------------
  trunk   Works
  0.11    Works
  0.10    Should work
  ------- --------------