Skip to content

Commit 9b5b972

Browse files
committed
refactor(matrix_affiliation): renamed as matrix_affiliation_checked
1 parent ccf3469 commit 9b5b972

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

auth_hybrid_matrix_token/mod_matrix_affiliation.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ module:hook("muc-occupant-joined", function (event)
4444
return
4545
end
4646

47-
if session.token_affiliation_checked then
47+
if session.matrix_affiliation_checked then
4848
module:log(LOGLEVEL, "skip affiliation, already checked")
4949
return
5050
end
@@ -91,7 +91,7 @@ module:hook("muc-occupant-joined", function (event)
9191
timer.add_task(0.2 * i, setAffiliation)
9292
end
9393
setAffiliation()
94-
session.token_affiliation_checked = true
94+
session.matrix_affiliation_checked = true
9595

9696
module:log( "info",
9797
"affiliation is downgraded, occupant: %s",

0 commit comments

Comments
 (0)