openfire

How to fetch room list from openfire?

三世轮回 提交于 2019-12-11 04:45:59
问题 I am using openfire server and XMPP protocol for chatting and i got success in it. Now i want to implement room chatting. I google lots about it, what i get is 'Joing Room', 'Create Room' but first i want to get list of all room name from conferrance. i have conferance and room in it : #define CONFERENCE_ROOM_SERVER @"chatroomforfriends" #define CONFERENCE_ROOM_NAME @"cr1" 'chatroomforfriends' is conferance name and it contain 'cr1' room. How do i fetch all room name in iOS ? 回答1: As per MUC

Chat History and Monitoring Plugin Openfire

喜夏-厌秋 提交于 2019-12-11 04:35:33
问题 I'm new to openfire. I have a chat application running nodejs . I have a separate Chat server with openfire installed. I wanted to know how chat history for a chat group is handled? How to progressively load chat history in the client from openfire server? Should I write a custom routine for the same ? Does Monitoring plugin provide any for the same What is format is which chats are archived ? Is there a way to retrieve them in any given format ? Are there any APIs that can be used to access

How to create persistent rooms in openfire using strophe?

夙愿已清 提交于 2019-12-11 00:53:23
问题 I'm using the following iq message to create persistent rooms in openfire: var configiq = $iq({ to : chatObj.getActiveChatRoomName() + "@" + chatObj.groupChatService, type : "set" }).c("x", { xmlns : "jabber:x:data", type : "submit" }).c('field', { "var" : "FORM_TYPE" }) .c('value').t("http://jabber.org/protocol/muc#roomconfig") .up().up() .c('field', { "var" : "muc#roomconfig_persistentroom" }) .c('value').t("1"); chatObj.connection.sendIQ(configiq.tree(), function () { console.log('success'

XMPPFramework - How to register a new user account

我与影子孤独终老i 提交于 2019-12-10 20:32:21
问题 I'm trying to use XMPPFramework to connect to an Openfire server and create a new user account. If I am already logged in as a different user, this code will create a new user account: NSXMLElement *query = [NSXMLElement elementWithName:@"query" xmlns:@"jabber:iq:register"]; [query addChild:[NSXMLElement elementWithName:@"username" stringValue:userName]]; [query addChild:[NSXMLElement elementWithName:@"password" stringValue:pswd]]; NSXMLElement *iq = [NSXMLElement elementWithName:@"iq"]; [iq

Openfire http prebinding with JAXL

半腔热情 提交于 2019-12-10 17:18:54
问题 I am trying to implement converse.js in my project to use Openfire chat and am prebinding the user using JAXL. Its working fine on my cloud(VPS) server. when am try to publish the same code on my client server its not working. and getting the same problem when execute the same from my localhost. not working means prebind request remains (pending) for a while and ends with 500 internal server error. we have checked the server configuration. seems to be fine. Can any one suggest me something to

smack api get all public rooms on openfire server

时光怂恿深爱的人放手 提交于 2019-12-10 15:54:26
问题 I am using the XMPP smack api to connect to an Openfire server. I am trying to query the server to return all public rooms available without knowing this names of the rooms in advance. The goal of this is so that my client can display a list of all public rooms available and join them accordingly. The Smack Extensions Documentation provides several examples of returning room information from the server however none of them seem to fit my need. One example requires you to know the name of the

Openfire Sending Push notification when user is offline

杀马特。学长 韩版系。学妹 提交于 2019-12-09 17:26:00
问题 I am using openfire 3.9.3 server and Android and IOS as client. I want to send messages via push notification to both clients when recipient user is offline. And when push is sent sender should get message receipt. for this, i tried : making interceptor: In this, i didn't get any exception or message failure for which i can track. modify openfire code also. But i don't think it is a good solution. I just want to know that, is there any plugin for it or modifying the openfire code is the last

Refreshing VCards in OpenFire

萝らか妹 提交于 2019-12-08 12:35:43
问题 I developed a VCard plugin for OpenFire XMPP server with the main purpose of creating/updating and retrieving users' avatars via HTTP requests. Unfortunately, the plugin does not work as expected - VCard changes are propogated into the database ( ofVcard table), but neither the user whose userpic was updated nor his buddies see the refreshed image. Here is how I create/update the VCards: ... XMPPServer server = XMPPServer.getInstance(); VCardManager vcardManager = server.getVCardManager();

Is it possible to get all users list which contain in the openfire?

房东的猫 提交于 2019-12-08 12:34:55
问题 I am doing an app chat in android by asmack with XMPP and want to user client install the application he will be able to retrieve The list of all the users which contain on the database. This will allow to the client be able to select user from the List and joined him to list friend one on one. How can I do that? If it not possible, how can achieve that? 回答1: Get the WebManager Instance. WebManager webMan = ...; UserManager userMan = webMan.getUserManager(); userMan.getUsers(); // Returns the

How do I configure Openfire to use custom database using openfire.xml?

回眸只為那壹抹淺笑 提交于 2019-12-08 09:38:15
问题 I tried out this guide from the Openfire documentation but none of my changes seem to have been applied. I can't login as any of the user from my custom database even if I set user names as admin. Do I need to manually apply all the changes to the system properties stored in the database (Openfire's ofProperty table)? I'd also like to know if there's a way to prevent or customize which tables Openfire will add to my database. 回答1: Here's what I did to setup external database (in my case MySQL