Added private chat.

This commit is contained in:
retoor 2025-02-11 15:38:05 +01:00
parent 8a59ddd210
commit ca463b79a8

View File

@ -39,8 +39,8 @@ class ChannelMemberService(BaseService):
return None
async def create_dm(self,channel_uid, from_user_uid, to_user_uid):
result = await self.create(channel_uid, from_user_uid,tag="dm")
await self.create(channel_uid, to_user_uid,tag="dm")
result = await self.create(channel_uid, from_user_uid)
await self.create(channel_uid, to_user_uid)
return result