equal
deleted
inserted
replaced
35 value = get_language(event.room) or ""; |
35 value = get_language(event.room) or ""; |
36 }); |
36 }); |
37 end |
37 end |
38 |
38 |
39 module:hook("muc-disco#info", add_disco_form); |
39 module:hook("muc-disco#info", add_disco_form); |
40 module:hook("muc-config-form", add_form_option, 100-9.5); |
40 module:hook("muc-config-form", add_form_option, 100-3); |
41 |
41 |
42 module:hook("muc-config-submitted/muc#roomconfig_lang", function(event) |
42 module:hook("muc-config-submitted/muc#roomconfig_lang", function(event) |
43 if set_language(event.room, event.value) then |
43 if set_language(event.room, event.value) then |
44 event.status_codes["104"] = true; |
44 event.status_codes["104"] = true; |
45 end |
45 end |