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