mirror of
https://github.com/liamcottle/reticulum-meshchat.git
synced 2026-04-27 16:10:32 +00:00
if user provided an address with an "lxmf@" prefix, lets remove that to get the raw destination hash
This commit is contained in:
parent
c5955295d7
commit
ff38d4c239
1 changed files with 5 additions and 0 deletions
|
|
@ -88,6 +88,11 @@ export default {
|
|||
}
|
||||
}
|
||||
|
||||
// if user provided an address with an "lxmf@" prefix, lets remove that to get the raw destination hash
|
||||
if(destinationHash.startsWith("lxmf@")){
|
||||
destinationHash = destinationHash.replace("lxmf@", "");
|
||||
}
|
||||
|
||||
// attempt to find existing peer so we can show their name
|
||||
const existingPeer = this.peers[destinationHash];
|
||||
if(existingPeer){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue