File tree Expand file tree Collapse file tree
android/tinySSB/app/src/main/java/nz/scuttlebutt/tremolavossbol/tssb Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ import nz.scuttlebutt.tremolavossbol.utils.Constants.Companion.DMX_PFX
1111import nz.scuttlebutt.tremolavossbol.utils.Constants.Companion.FID_LEN
1212import nz.scuttlebutt.tremolavossbol.utils.Constants.Companion.TINYSSB_PKT_LEN
1313import nz.scuttlebutt.tremolavossbol.utils.HelperFunctions.Companion.decodeHex
14+ import nz.scuttlebutt.tremolavossbol.utils.HelperFunctions.Companion.toBase64
1415import nz.scuttlebutt.tremolavossbol.utils.HelperFunctions.Companion.toByteArray
1516import nz.scuttlebutt.tremolavossbol.utils.HelperFunctions.Companion.toHex
1617import nz.scuttlebutt.tremolavossbol.utils.HelperFunctions.Companion.toInt32
@@ -79,6 +80,9 @@ class Repo(val context: MainActivity) {
7980 chnk_offs = Random .nextInt(0 , context.tinyGoset.keys.size - 1 )
8081 }
8182
83+ if (context.isWaiInitialized())
84+ context.wai.eval(" b2f_new_contact(\" @${fid.toBase64()} .ed25519\" )" ) // notify frontend
85+
8286 want_is_valid = false
8387 chnk_is_valid = false
8488
You can’t perform that action at this time.
0 commit comments