Skip to content

Commit

Permalink
token_affiliation, fix: increase the overwrite interval
Browse files Browse the repository at this point in the history
  • Loading branch information
emrahcom committed Sep 28, 2023
1 parent dd29fc0 commit 0e94b4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions token_affiliation/mod_token_affiliation.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0e94b4e

Please sign in to comment.