prosody
log
graph
tags
bookmarks
branches
f424c9f1460b
browse
changeset
plugins/muc/config_form_sections.lib.lua
Annotate
comparison
diff
file
raw
log
latest
help
Find changesets by keywords by author, files, the commit message, revision number or hash, or
revset expression
.
Software
/
code
/
prosody
Annotate
plugins/muc/config_form_sections.lib.lua @ 13357:
f424c9f1460b
mod_mam: Use for loop in metadata query Some storage drivers will perform cleanup after the last iteration, but if only one step is taken this might be delayed until the garbage collector gets to it.
author
Kim Alvefur <zash@zash.se>
date
Sun, 26 Nov 2023 22:58:11 +0100 (21 months ago)
parent
9036:
bb4dcc555091
Ignore whitespace changes -
Everywhere:
Within whitespace:
At end of lines:
rev
line source
9036
bb4dcc555091
MUC: Commit forgotten file
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
+
−
1
module:hook("muc-config-form", function(event)
bb4dcc555091
MUC: Commit forgotten file
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
+
−
2
table.insert(event.form, {
bb4dcc555091
MUC: Commit forgotten file
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
+
−
3
type = "fixed";
bb4dcc555091
MUC: Commit forgotten file
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
+
−
4
value = "Room information";
bb4dcc555091
MUC: Commit forgotten file
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
+
−
5
});
bb4dcc555091
MUC: Commit forgotten file
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
+
−
6
end, 100);
bb4dcc555091
MUC: Commit forgotten file
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
+
−
7
bb4dcc555091
MUC: Commit forgotten file
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
+
−
8
module:hook("muc-config-form", function(event)
bb4dcc555091
MUC: Commit forgotten file
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
+
−
9
table.insert(event.form, {
bb4dcc555091
MUC: Commit forgotten file
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
+
−
10
type = "fixed";
bb4dcc555091
MUC: Commit forgotten file
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
+
−
11
value = "Access to the room";
bb4dcc555091
MUC: Commit forgotten file
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
+
−
12
});
bb4dcc555091
MUC: Commit forgotten file
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
+
−
13
end, 90);
bb4dcc555091
MUC: Commit forgotten file
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
+
−
14
bb4dcc555091
MUC: Commit forgotten file
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
+
−
15
module:hook("muc-config-form", function(event)
bb4dcc555091
MUC: Commit forgotten file
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
+
−
16
table.insert(event.form, {
bb4dcc555091
MUC: Commit forgotten file
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
+
−
17
type = "fixed";
bb4dcc555091
MUC: Commit forgotten file
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
+
−
18
value = "Permissions in the room";
bb4dcc555091
MUC: Commit forgotten file
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
+
−
19
});
bb4dcc555091
MUC: Commit forgotten file
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
+
−
20
end, 80);
bb4dcc555091
MUC: Commit forgotten file
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
+
−
21
bb4dcc555091
MUC: Commit forgotten file
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
+
−
22
module:hook("muc-config-form", function(event)
bb4dcc555091
MUC: Commit forgotten file
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
+
−
23
table.insert(event.form, {
bb4dcc555091
MUC: Commit forgotten file
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
+
−
24
type = "fixed";
bb4dcc555091
MUC: Commit forgotten file
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
+
−
25
value = "Other options";
bb4dcc555091
MUC: Commit forgotten file
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
+
−
26
});
bb4dcc555091
MUC: Commit forgotten file
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
+
−
27
end, 70);