Filter nicknames for notices
This commit is contained in:
parent
52f3e8f1b2
commit
73792d724d
|
@ -259,7 +259,7 @@ class DrilldownContextModal(APIView):
|
|||
if "mtype" not in query_params:
|
||||
query_params["mtype"] = None
|
||||
if request.user.is_superuser:
|
||||
if query_params["type"] == "query":
|
||||
if query_params["type"] in ["query", "notice"]:
|
||||
print("BOT NICK", query_params["channel"])
|
||||
print("QUERY NICK", query_params["nick"])
|
||||
nicks = [query_params["channel"], query_params["nick"]]
|
||||
|
|
Loading…
Reference in New Issue