mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2024-09-29 16:30:49 +00:00
BugFix for the route in the DM Notification
This commit is contained in:
parent
07d661ea00
commit
b12b81282c
@ -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}"
|
||||
|
Loading…
Reference in New Issue
Block a user