logs-gic
All checks were successful
deploy / deploy (push) Successful in 1m32s

This commit is contained in:
2023-12-25 10:48:50 +03:00
parent 48b8209e23
commit da3e7e55fd
4 changed files with 5 additions and 10 deletions

View File

@@ -272,13 +272,9 @@ async def update_reaction(_, info, rid, reaction):
r.body = body
r.updated_at = int(time.time())
if r.kind != reaction["kind"]:
# NOTE: change mind detection can be here
# TODO: change mind detection can be here
pass
# FIXME: range is not stable after body editing
if reaction.get("range"):
r.range = reaction.get("range")
session.commit()
r.stat = {
"commented": commented_stat,