Mercurial > prosody-modules
view mod_profile/README.markdown @ 4326:f6fdefc5c6ac
mod_roster_command: Fix subscription when the "user JID" is a bare domain.
Do not attempt to update the roster when the user is bare domain (e.g. a
component), since they don't have rosters and the attempt results in an error:
$ prosodyctl mod_roster_command subscribe proxy.example.com contact@example.com
xxxxxxxxxxFailed to execute command: Error: /usr/lib/prosody/core/rostermanager.lua:104: attempt to concatenate local 'username' (a nil value)
stack traceback:
/usr/lib/prosody/core/rostermanager.lua:104: in function 'load_roster'
/usr/lib/prosody/core/rostermanager.lua:305: in function 'set_contact_pending_out'
mod_roster_command.lua:44: in function 'subscribe'
author | Boris Grozev <boris@jitsi.org> |
---|---|
date | Tue, 05 Jan 2021 13:15:00 -0600 |
parents | b105c4425359 |
children | 89226fb1af67 |
line wrap: on
line source
--- labels: - 'Stage-Unmaintained' summary: 'Replacement for mod\_vcard with vcard4 support and PEP integration' --- ::: {.alert .alert-warning} [mod\_vcard\_legacy][doc:modules:mod_vcard_legacy] and [mod\_vcard4][doc:modules:mod_vcard4] included with Prosody 0.11.x provide equivalent functionality. ::: # Introduction This module was an experimental replacement for [mod\_vcard]. In addition to the ageing protocol defined by [XEP-0054], it also supports the [new vCard 4 based protocol][xep0292] and integrates with [Personal Eventing Protocol][xep0163]. Also supports [XEP-0398: User Avatar to vCard-Based Avatars Conversion]. The vCard 4, [User Avatar][xep0084] and [User Nickname][xep0172] PEP nodes are updated when the vCard is changed.. # Configuration modules_enabled = { -- "vcard"; -- This module must be removed "profile"; } # Compatibility Requires Prosody **trunk** as of 2014-05-29. Won't work in 0.10.x. It depends on the trunk version of [mod\_pep][doc:modules:mod_pep] for PEP support, previously known as [mod\_pep\_plus][doc:modules:mod_pep_plus].