Made avatar retrieval optional by introducing the allow action gate.
This commit is contained in:
@@ -1,9 +1,13 @@
|
||||
import os
|
||||
|
||||
name = "Get User Avatar"
|
||||
|
||||
kind = "action"
|
||||
|
||||
alias = "getavatar"
|
||||
|
||||
allowaction = bool(os.environ.get("UPDATE_AVATARS", True))
|
||||
|
||||
showstatus = True
|
||||
|
||||
isrequest = True
|
||||
|
||||
Reference in New Issue
Block a user