Skip to content

Carbon messages are not storing in XMPPMessageArchivingCoreDataStorage XEP-0280 #80

@sohanshrooms

Description

@sohanshrooms

I implemented carbon messaging as my project supports multi logins from different devices.
I used this code to implement XEP-0280.

xmppMessageCarbons = XMPPMessageCarbons(dispatchQueue: DispatchQueue.main)
xmppMessageCarbons?.activate(xmppStream!)
xmppMessageCarbons?.autoEnableMessageCarbons = true;
xmppMessageCarbons?.addDelegate(self, delegateQueue: DispatchQueue.main)

Now I am getting carbon message in func xmppMessageCarbons(_ xmppMessageCarbons: XMPPMessageCarbons, didReceive message: XMPPMessage, outgoing isOutgoing: Bool) but the issue is I am not able to save that carbon message in XMPPMessageArchivingCoreDataStorage.
If anyone knows how to save carbon messages in XMPPMessageArchivingCoreDataStorage please help me.

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