简体   繁体   中英

Send groupchat message using xmpp framework & quickblox server iOS

I'm working on chat room using quickblox server and XMPP framework for iOS. I'm able to join room successfully. However, When I try to send message it says: Insufficient privileges to send groupchat message.

Below is the response that I receive from quickblox XMPP server:

<message xmlns="jabber:client" from="chatroom1@muc.chat.quickblox.com" type="error" to="11130377-33829@chat.quickblox.com/1220770403-quickblox-198215"><body>hfg</body><subject>GroupNameSubject</subject><error code="403" type="auth"><forbidden xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"></forbidden><text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" lang="en">Insufficient privileges to send groupchat message.</text></error></message>

PS I'm not using quickblox SDK for iOS.

In order to use Quickblox chat you need to use Quickblox iOS SDK. And there is no another way.

You can follow their complete guide here: http://quickblox.com/developers/SimpleSample-chat_users-ios#Guide:_Getting_Started_with_Chat_API

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM