mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-20 10:21:08 +02:00
BugFix for the route in the DM Notification
This commit is contained in:
@@ -203,7 +203,7 @@ fun uriToRoute(uri: String?): String? {
|
||||
Nip19.Type.EVENT -> {
|
||||
if (nip19.kind == PrivateDmEvent.kind) {
|
||||
nip19.author?.let {
|
||||
"RoomByPubkey/$it"
|
||||
"RoomByAuthor/$it"
|
||||
}
|
||||
} else if (nip19.kind == ChannelMessageEvent.kind || nip19.kind == ChannelCreateEvent.kind || nip19.kind == ChannelMetadataEvent.kind) {
|
||||
"Channel/${nip19.hex}"
|
||||
|
Reference in New Issue
Block a user