Add NIP-17 gift-wrapped DMs, follow-from-menu, fix new conversation crash

DMs now send via NIP-17 (kind 1059 gift-wrap) with self-copy for sent
messages. Receive supports both NIP-17 and legacy NIP-04 for backward
compat. Protocol indicator shown in conversation list and compose footer.

Note card context menu (⋯) now includes follow/unfollow option so users
can follow authors directly from the feed without visiting their profile.

Fix crash (black screen) when starting a new DM conversation — empty
event array caused undefined access on lastEvent.
This commit is contained in:
Jure
2026-03-15 21:30:54 +01:00
parent ad79ab99de
commit 5b4f6381da
4 changed files with 115 additions and 30 deletions
+1 -1
View File
@@ -5824,7 +5824,7 @@ dependencies = [
[[package]]
name = "wrystr"
version = "0.4.0"
version = "0.4.1"
dependencies = [
"keyring",
"rusqlite",