didReceiveInvitation() is not being called in XMPPFramework and Swift 2

前端 未结 2 1547
广开言路
广开言路 2021-01-24 08:24

I am creating chatting application like Whatsapp.
I have successfully write the functionality of Text chat, Image, Audio, Video Transfer. Now I am creating

2条回答
  •  太阳男子
    2021-01-24 08:41

    If you set a breakpoint in file XMPPMUC.m line 317

    - (void)xmppStream:(XMPPStream *)sender didReceiveMessage:(XMPPMessage *)message
    

    Is that method being called when an invitation is sent to your user? If so keep debugging and check if line 382 is being executed.

    That line has this:

    [multicastDelegate xmppMUC:self roomJID:roomJID didReceiveInvitation:message];
    

提交回复
热议问题