aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2018-07-06 15:33:46 +0100
committerMatthew Wild <mwild1@gmail.com>2018-07-06 15:33:46 +0100
commit49677384f67b36e3a302b86151218ee10552cdaa (patch)
tree89590cb4d1ed9ba41260e390d13e0cff6e777b13 /util
parent4e35f8575f31db1e39e96a4ea38679a8c42a3f35 (diff)
downloadprosody-49677384f67b36e3a302b86151218ee10552cdaa.tar.gz
prosody-49677384f67b36e3a302b86151218ee10552cdaa.zip
MUC: Add config option to allow members to invite other members to the room (previously only owners/admins could do this)
Diffstat (limited to 'util')
-rw-r--r--util/async.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/async.lua b/util/async.lua
index 0d19af6e..4d9f159f 100644
--- a/util/async.lua
+++ b/util/async.lua
@@ -148,7 +148,7 @@ end
function runner_mt:run(input)
if input ~= nil then
table.insert(self.queue, input);
- self:log("debug", "queued new work item, %d items queued", #self.queue);
+ --self:log("debug", "queued new work item, %d items queued", #self.queue);
end
if self.state ~= "ready" then
-- The runner is busy. Indicate that the task item has been
@@ -167,7 +167,7 @@ function runner_mt:run(input)
-- Process task item(s) while the queue is not empty, and we're not blocked
local n, state, err = #q, self.state, nil;
self.state = "running";
- self:log("debug", "running main loop");
+ --self:log("debug", "running main loop");
while n > 0 and state == "ready" and not err do
local consumed;
-- Loop through queue items, and attempt to run them