merged-fix-3
This commit is contained in:
parent
6e63be30e0
commit
f1bdd7a0f8
|
@ -10,7 +10,8 @@ from services.schema import mutation, query
|
|||
from orm.reaction import Reaction, ReactionKind
|
||||
from orm.shout import Shout, ShoutReactionsFollower
|
||||
from orm.user import User
|
||||
from services.notifications.notification_service import notification_service
|
||||
# TODO: use presense interface
|
||||
# from services.notifications.notification_service import notification_service
|
||||
|
||||
|
||||
def add_reaction_stat_columns(q):
|
||||
|
@ -241,7 +242,8 @@ async def create_reaction(_, info, reaction):
|
|||
session.add(r)
|
||||
session.commit()
|
||||
|
||||
await notification_service.handle_new_reaction(r.id)
|
||||
# FIXME: use presence service interface here
|
||||
# await notification_service.handle_new_reaction(r.id)
|
||||
|
||||
rdict = r.dict()
|
||||
rdict["shout"] = shout.dict()
|
||||
|
|
Loading…
Reference in New Issue
Block a user