- add chat_notification_settings table and migration - add chat notifications API (get/update muted) - skip message notifications for muted recipients - add mute/unmute control in chat info panel
This commit is contained in:
@@ -74,3 +74,13 @@ class ChatDeleteRequest(BaseModel):
|
||||
|
||||
class ChatDiscoverRead(ChatRead):
|
||||
is_member: bool
|
||||
|
||||
|
||||
class ChatNotificationSettingsRead(BaseModel):
|
||||
chat_id: int
|
||||
user_id: int
|
||||
muted: bool
|
||||
|
||||
|
||||
class ChatNotificationSettingsUpdate(BaseModel):
|
||||
muted: bool
|
||||
|
||||
Reference in New Issue
Block a user