if user provided an address with an "lxmf@" prefix, lets remove that to get the raw destination hash

This commit is contained in:
liamcottle
2025-01-06 18:00:57 +13:00
parent c5955295d7
commit ff38d4c239

View File

@@ -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){