mirror of
https://github.com/liamcottle/reticulum-meshchat.git
synced 2026-04-28 00:20:48 +00:00
use router url params for navigating to lxmf conversation
This commit is contained in:
parent
b215c4ac31
commit
1bad77553c
1 changed files with 6 additions and 2 deletions
|
|
@ -581,8 +581,12 @@ export default {
|
|||
if(url.startsWith("lxmf@")){
|
||||
const destinationHash = url.replace("lxmf@", "");
|
||||
if(destinationHash.length === 32){
|
||||
await this.$router.push({ name: "messages" });
|
||||
GlobalEmitter.emit("compose-new-message", destinationHash);
|
||||
await this.$router.push({
|
||||
name: "messages",
|
||||
params: {
|
||||
destinationHash: destinationHash,
|
||||
},
|
||||
});
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue