Ejabberd How to use MUC / SUB with xmppframework

We use ejabberd 17.01 for iOS and Android applications.

We need to create a permanent room where the user will be able to receive messages until they are connected / not connected in the room.

We believe there is a solution for Ejabberd.

How to configure this in XMPPFramework on iOS and smack in Android SMACK library?

+4
source share
1 answer

We implemented the module XMPPMUCSubin fork XMPPFramework at https://github.com/Digithurst/XMPPFramework/blob/master/Extensions/MUC-Sub/XMPPMUCSub.h

, , XMPPFramework, .

- (nullable NSString *)subscribe:(nonnull XMPPJID *)user to:(nonnull XMPPJID *)room 
                        nick:(nullable NSString *)nick password:(nullable NSString *)pass;

XMPPMUCSubDelegate.

+2

Source: https://habr.com/ru/post/1669408/


All Articles