mirror of
https://github.com/liamcottle/reticulum-meshchat.git
synced 2026-11-21 15:36:21 -05:00
use var for send destination
This commit is contained in:
parent
b74fd5e143
commit
6e83516e19
1 changed files with 3 additions and 1 deletions
|
|
@ -141,6 +141,8 @@
|
|||
|
||||
isWebsocketConnected: false,
|
||||
|
||||
sendToDestinationHash: "bebfd1f0635a7f6129ee3b30c05328f3",
|
||||
|
||||
newMessageText: "",
|
||||
isSendingMessage: false,
|
||||
autoScrollOnNewMessage: true,
|
||||
|
|
@ -236,7 +238,7 @@
|
|||
// send message to reticulum via websocket
|
||||
this.ws.send(JSON.stringify({
|
||||
"type": "lxmf.delivery",
|
||||
"destination_hash": "42973ba338620b6319384fef3ae4f0d8", // FIXME
|
||||
"destination_hash": this.sendToDestinationHash,
|
||||
"message": messageText,
|
||||
}));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue