Hi, i’m trying to write a sort-of inbox feature for my app.
having a ‘inbox’ & ‘sent items’ area for each logged in user so they can
send and receive messages to people logged into the system.
i’m thinking the data model would be something like…
something like that,
the state (not read, read, sent) would determine what box it should sit
in, sort of like a blog / list model to connect each message together
like a line of history.