OTRKit icon indicating copy to clipboard operation
OTRKit copied to clipboard

SMP causes crash

Open atarasenko opened this issue 8 years ago • 0 comments

Call to selector [OTRKit initiateSMPForUsername: accountName: protocol: question: secret:] causes a crash: 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: otrKit'

Test case is attached. SMPTest.swift.txt

Reason: it looks like the third parameter passed to function otrl_message_initiate_smp_q must be not NULL, but [[OTROpData alloc] initWithOTRKit:self tag:nil].

atarasenko avatar Dec 14 '17 11:12 atarasenko