refactor keys
This commit is contained in:
parent
b179b48edc
commit
952677ae13
1 changed files with 5 additions and 6 deletions
|
|
@ -270,7 +270,8 @@
|
|||
products: [],
|
||||
orders: [],
|
||||
user: {
|
||||
keys: {}
|
||||
keys: {},
|
||||
orders: {}
|
||||
},
|
||||
keysDialog: {
|
||||
show: false,
|
||||
|
|
@ -353,11 +354,9 @@
|
|||
const privkey = nostr.generatePrivateKey()
|
||||
const pubkey = nostr.getPublicKey(privkey)
|
||||
|
||||
this.user = {
|
||||
keys: {
|
||||
privatekey: privkey,
|
||||
publickey: pubkey
|
||||
}
|
||||
this.user.keys = {
|
||||
privatekey: privkey,
|
||||
publickey: pubkey
|
||||
}
|
||||
},
|
||||
async getMessages(room_name, all = false) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue