Skip to content

Message not decrypted #36

Open
Open
@x3mall1986

Description

@x3mall1986

Hi. I have some problem. Maybe you can help for me.

I integrate OTRKit in my xmppChat. It works fine. But sometimes, i have problem with decryption messages. In the delegate
- (void)otrKit:(OTRKit *)otrKit decodedMessage:(NSString *)decodedMessage tlvs:(NSArray<OTRTLV *> *)tlvs wasEncrypted:(BOOL)wasEncrypted username:(NSString *)username accountName:(NSString *)accountName protocol:(NSString *)protocol fingerprint:(OTRFingerprint *)fingerprint tag:(id)tag error:(NSError *)error

I get parameters:
decodedMessage is nil.
wasEncrypted = YES
error = nil

when I'm sending a message from a client which does not decrypt it - everything starts working correctly. It occurs sometimes when connection with internet dropped on client, that encode message.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions