Notifications accept.

This commit is contained in:
retoor 2025-03-05 18:48:27 +01:00
parent edb35b5707
commit 0613f6f54d

View File

@ -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()