|
|
|
@ -23,7 +23,7 @@ def is_moderator(username):
|
|
|
|
|
def get_session_user():
|
|
|
|
|
if "auth" not in session or not session["auth"]:
|
|
|
|
|
return None
|
|
|
|
|
return session["auth"]["preferred_username"].trim()
|
|
|
|
|
return session["auth"]["preferred_username"].strip()
|
|
|
|
|
|
|
|
|
|
def post_webhook(msg):
|
|
|
|
|
try:
|
|
|
|
|