Software /
code /
prosody
Comparison
plugins/muc/muc.lib.lua @ 8861:2a48255f889b
MUC: Correctly use a multiple options field for requested role (thanks jonasw)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 02 Jun 2018 16:10:00 +0200 |
parent | 8859:11176f47a03a |
child | 8865:2a8bbfcb6868 |
comparison
equal
deleted
inserted
replaced
8860:0bb46a1bb398 | 8861:2a48255f889b |
---|---|
797 type = "text-single"; | 797 type = "text-single"; |
798 label = "Room Nickname"; | 798 label = "Room Nickname"; |
799 }, | 799 }, |
800 { | 800 { |
801 name = "muc#role"; | 801 name = "muc#role"; |
802 type = "text-single"; | 802 type = "list-single"; |
803 label = "Requested Role"; | 803 label = "Requested Role"; |
804 value = "participant"; | 804 value = "participant"; |
805 options = { | |
806 "none", | |
807 "visitor", | |
808 "participant", | |
809 "moderator", | |
810 }; | |
805 }, | 811 }, |
806 { | 812 { |
807 name = "muc#request_allow"; | 813 name = "muc#request_allow"; |
808 type = "boolean"; | 814 type = "boolean"; |
809 label = "Grant voice to this person?"; | 815 label = "Grant voice to this person?"; |