Skip to content
Browse files

async file i/o can lead to unstable behaviour during SMP authenticati…

…on. use sync methods
  • Loading branch information...
1 parent 4b6ac22 commit 48c4755e9103e2b595184331d18d0bbee7edac2b @mnaamani committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 otr.js
View
2 otr.js
@@ -73,7 +73,7 @@ User.prototype.ConnContext = function(accountname, protocol, recipient){
User.prototype.writeFingerprints = function(){
console.error("Writing Fingerprints to:",this.fingerprints);
- this.state.writeFingerprints(this.fingerprints);
+ this.state.writeFingerprintsSync(this.fingerprints);
}
function OTRChannel(user, context, parameters){

0 comments on commit 48c4755

Please sign in to comment.
Something went wrong with that request. Please try again.