feat(chat): add unread message divider

This commit is contained in:
2024-11-25 23:22:31 +00:00
parent 24c457413d
commit 2430b41ce1
4 changed files with 88 additions and 10 deletions

View File

@@ -6,6 +6,8 @@ defmodule Slax.Chat.RoomMembership do
alias Slax.Chat.Room
schema "room_memberships" do
field :last_read_id, :integer
belongs_to :room, Room
belongs_to :user, User