Software / code / prosody
File
plugins/mod_unknown.lua @ 8997:8c4dd4375823
MUC/password: Set room password on creation if included in join stanza
This fixes room creation/joining from Gajim if a password has been set.
Otherwise the muc-occupant-pre-join event hook determines that the given
password differs from the unset password and joining is rejected, which
seems unhelpful.
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sun, 08 Jul 2018 04:17:54 +0200 |
| parent | 6003:28a90f5fea46 |
line wrap: on
line source
-- Unknown platform stub module:set_global(); -- TODO Do things that make sense if we don't know about the platform