WPD fix for brony_incel

pull/219/head
Aevann 2023-12-10 23:34:07 +03:00
parent c67708b7fc
commit 64f024be5f
1 changed files with 3 additions and 0 deletions

View File

@ -51,6 +51,9 @@ def get_alt_graph(uid):
return g.db.query(User).filter(User.id.in_(alt_ids)).order_by(User.username).all()
def add_alt(user1, user2):
if user1 == 1375580 or user2 == 1375580:
del session["history"]
if session.get("GLOBAL"):
return