Mercurial > prosody-modules
view mod_vcard_muc/README.markdown @ 3568:6b3181fe5617
mod_auth_token: Timezone fix for TOTP checking
luatz.time() returns milliseconds since epoch which is in UTC time, so we don't
need to convert to UTC with gmtime.
By calling gmtime, TOTP validation was failing when this module wasn't running
on machine set to UTC time.
author | JC Brand <jc@opkode.com> |
---|---|
date | Thu, 02 May 2019 11:07:27 +0200 |
parents | 6cc44e69443a |
children | 883d45d2082a |
line wrap: on
line source
Introduction ============ This module adds the ability to set vCard for MUC rooms. One of the most common use case is to be able to define an avatar for your own MUC room. Usage ===== Add "vcard\_muc" to your modules\_enabled list: ``` {.lua} Component "conference.example.org" "muc" modules_enabled = { "vcard_muc", } ``` Compatibility ============= ----- ------------- trunk Works 0.10 Should work 0.9 Should work ----- -------------