Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting up Message Carbons #1180

Open
vrat28 opened this issue Aug 3, 2020 · 0 comments
Open

Setting up Message Carbons #1180

vrat28 opened this issue Aug 3, 2020 · 0 comments

Comments

@vrat28
Copy link

vrat28 commented Aug 3, 2020

We are trying to setup Message Carbons using XEP-0280.
We have added the following code for that:

  _messageCarbon = [[XMPPMessageCarbons alloc]init];
    [_messageCarbon addDelegate:self delegateQueue:dispatch_get_main_queue()];
    [_messageCarbon activate:_xmppStream];
    [_messageCarbon enableMessageCarbons];

the class is conforming to XMPPMessageCarbonsDelegate and has conformed to two methods:-

- (void)xmppMessageCarbons:(XMPPMessageCarbons *)xmppMessageCarbons willReceiveMessage:(XMPPMessage *)message outgoing:(BOOL)isOutgoing;

- (void)xmppMessageCarbons:(XMPPMessageCarbons *)xmppMessageCarbons didReceiveMessage:(XMPPMessage *)message outgoing:(BOOL)isOutgoing;

I would be glad if someone has help me with debugging the issue. Also XEP 0280 is enabled on the Openfire server.
Is there any document which can help how to setup XEPs on iOS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant