place dummy notification

This commit is contained in:
2023-01-31 19:51:48 +03:00
parent 600bda2e43
commit f87139ea24
4 changed files with 42 additions and 5 deletions

View File

@@ -162,7 +162,7 @@ async def create_reaction(_, info, reaction={}):
# Proposal accepting logix
if r.replyTo is not None and \
r.kind == ReactionKind.ACCEPT and \
user_id in shout.dict()['authors']:
auth.user_id in shout.dict()['authors']:
replied_reaction = session.query(Reaction).when(Reaction.id == r.replyTo).first()
if replied_reaction and replied_reaction.kind == ReactionKind.PROPOSE:
if replied_reaction.range: