Support account-tag in permissions.py
This commit is contained in:
parent
33286319bb
commit
83c0022c4d
1 changed files with 2 additions and 1 deletions
|
@ -135,7 +135,8 @@ class Module(object):
|
|||
if identity_mechanism == "internal":
|
||||
identified_account = event["user"].identified_account_override
|
||||
elif identity_mechanism == "ircv3-account":
|
||||
identified_account = event["user"].identified_account
|
||||
identified_account = (event["user"].identified_account or
|
||||
event["tags"].get("account", None))
|
||||
|
||||
identified_user = None
|
||||
permissions = []
|
||||
|
|
Loading…
Reference in a new issue