Notifications accept.
This commit is contained in:
parent
edb35b5707
commit
0613f6f54d
@ -39,6 +39,9 @@ class NotificationService(BaseService):
|
||||
if not channel_member['new_count']:
|
||||
channel_member['new_count'] = 0
|
||||
channel_member['new_count'] += 1
|
||||
|
||||
usr = await self.services.user.get(uid=channel_member["user_uid"])
|
||||
print("INSERTED FOR ",usr["username"],flush=True)
|
||||
await self.services.channel_member.save(channel_member)
|
||||
|
||||
model = await self.new()
|
||||
|
Loading…
Reference in New Issue
Block a user