mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-09 16:14:40 +00:00
Makes the Desktop DM client a first-class group participant and tightens the shared/Desktop DM paths so they match Android behavior. - commons ChatNewMessageState: actually attach the composed NIP-14 subject to sent messages (the field was previously collected but dropped). - commons ChatroomList: emit a `changes` SharedFlow on add/remove so list UIs can refresh reactively; dedupe the User overloads onto the room ones. - Desktop NewDmDialog: multi-recipient selection (chips + confirm button) so a Desktop user can start a group, not only a 1:1. - Desktop ChatPane/ChatroomHeader: show a group's NIP-14 subject in the header and add a rename dialog that broadcasts a subject change to all members. - Desktop Main.kt DM ingest: route any ChatroomKeyable inner event into the room (covers kind 14/15 and future variants) and store self-authored NIP-37 drafts instead of dropping them. - Desktop ChatroomListState: refresh reactively off ChatroomList.changes (with a slower safety poll), track real per-room unread via a last-seen mark, and hide rooms whose latest message isn't acceptable (mute/filter). https://claude.ai/code/session_01VEukNczAYxNLBjLnqVEoZd