From 0e94b4e5c5349c9dab73399fc7a087dbd2e28d3a Mon Sep 17 00:00:00 2001 From: emrah Date: Thu, 28 Sep 2023 12:47:10 +0300 Subject: [PATCH] token_affiliation, fix: increase the overwrite interval --- token_affiliation/mod_token_affiliation.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/token_affiliation/mod_token_affiliation.lua b/token_affiliation/mod_token_affiliation.lua index 320d601..5cef57f 100644 --- a/token_affiliation/mod_token_affiliation.lua +++ b/token_affiliation/mod_token_affiliation.lua @@ -40,11 +40,11 @@ module:hook("muc-occupant-joined", function (event) end local i = 0.0 - while (i < 2.0) do + while (i < 2.8) do timer.add_task(i, function() room:set_affiliation(true, occupant.bare_jid, affiliation) end) - i = i + 0.2 + i = i + 0.4 end module:log(LOGLEVEL, "affiliation: %s", affiliation)