-
Notifications
You must be signed in to change notification settings - Fork 428
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
MongooseIM 2.0.1 #1164
MongooseIM 2.0.1 #1164
Conversation
Hi @michalwski Regarding REST API Docs and MUC Light for 2.0.1 version, I see REST API endpoints to create a room, invite someone and send messages. Is there any other endpoint(s) not documented for instance to delete a group, update room details, etc.. or is all this functionality available just by raw xmpp; if this is the case, does the new changes for android/ios/web libs include high level functions for this? Thanks! |
Hi @jonathanve, Thanks for contacting us. To be on the same page I need to be sure if you are asking about REST API for clients [1] or for backend services [2]. In case of [1] it is possible to remove room with HTTP's DELETE method, see [3]. The same is not possible (yet) with the REST API for backend services as described in [2]. Other then REST APIs, full MUC light support is possible via XMPP as described in [4]. [1]. http://mongooseim.readthedocs.io/en/2.0.1/REST-API/ |
Thanks @michalslaski |
HI @michalslaski Setting up a custom schema for MUC Light is quite straightforward with config_schema and default_config. However, when using the API, the new values do not get stored and the values returned by the API do not contain the new values. https://github.com/esl/MongooseIM/blob/2.0.1/apps/ejabberd/src/mongoose_client_api_rooms.erl#L96 I can change the code and create a custom one to do it, I just want to know if there is another way to accomplish the functionality without changing the code in the new releases or a config value... |
Hi @jonathanve, I'm really glad to see you are using MongooseIM and its REST API. The first version of the API is very basic. We want to improve and extend it based on customer needs. Your use case is one of the examples we are waiting for! If this is possible please send a PR with the changes you need. If not I'll make sure this functionality gets into |
Hi @michalslaski, Is there any friendly way to get how many offline messages are stored in the queues, by user, when using mod_offline module? We are trying to define a good max_user_offline_messages value and get to know which clients are most often offline :) Thanks for your help! Sorry for posting the question here, I do not know where else to ask it. |
Hi @jonathanve The best place is here: https://github.com/esl/MongooseIM/issues :) Can you please create a new issue there? |
This release includes:
Special thanks to our contributors: @kenstir, @sstrigler, @igors, @bernardd, @msantos
This release repo history