Mercurial > prosody-modules
comparison mod_muc_defaults/mod_muc_defaults.lua @ 3978:dd8ef22d4857
Merge
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sat, 18 Apr 2020 15:43:08 +0200 |
| parents | d1bc50890343 |
| children | a81516906822 |
comparison
equal
deleted
inserted
replaced
| 3977:bbfcd786cc78 | 3978:dd8ef22d4857 |
|---|---|
| 48 should_save = room:set_moderated(config.moderated) or should_save; | 48 should_save = room:set_moderated(config.moderated) or should_save; |
| 49 end | 49 end |
| 50 if config.persistent ~= nil then | 50 if config.persistent ~= nil then |
| 51 should_save = room:set_persistent(config.persistent) or should_save; | 51 should_save = room:set_persistent(config.persistent) or should_save; |
| 52 end | 52 end |
| 53 if config.presence_broadcast ~= nil then | |
| 54 should_save = room:set_presence_broadcast(config.presence_broadcast) or should_save; | |
| 55 end | |
| 53 if config.public ~= nil then | 56 if config.public ~= nil then |
| 54 should_save = room:set_hidden(not config.public) or should_save; | 57 should_save = room:set_hidden(not config.public) or should_save; |
| 55 end | 58 end |
| 56 if config.public_jids ~= nil then | 59 if config.public_jids ~= nil then |
| 57 should_save = | 60 should_save = |
