mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-09-26 22:37:21 +02:00
cleanup debug
This commit is contained in:
@@ -964,31 +964,24 @@ export default {
|
||||
|
||||
//private mutes
|
||||
try {
|
||||
console.log("HELLO")
|
||||
let content = ""
|
||||
//console.log(store.state.pubkey.toHex())
|
||||
//console.log(list.content)
|
||||
/* if (localStorage.getItem('nostr-key-method') === 'android-signer') {
|
||||
content = await amberSignerService.nip04Decrypt(store.state.pubkey.toHex(), list.content)
|
||||
|
||||
}
|
||||
else{
|
||||
*/
|
||||
|
||||
try{
|
||||
console.log("HELLO2")
|
||||
|
||||
content = await this.signer.nip04Decrypt(store.state.pubkey, list.content)
|
||||
console.log("HELL3")
|
||||
|
||||
console.log(content)
|
||||
if (localStorage.getItem('nostr-key-method') === 'android-signer') {
|
||||
content = await amberSignerService.nip04Decrypt(store.state.pubkey.toHex(), list.content)
|
||||
}
|
||||
|
||||
else{
|
||||
|
||||
try{
|
||||
content = await this.signer.nip04Decrypt(store.state.pubkey, list.content)
|
||||
//console.log(content)
|
||||
}
|
||||
catch(error){
|
||||
console.log(error)
|
||||
}
|
||||
|
||||
// }
|
||||
}
|
||||
|
||||
|
||||
let json = JSON.parse(content)
|
||||
|
Reference in New Issue
Block a user