openfire

XMPPFramework - Retrieve Archived Messages From Openfire Server

◇◆丶佛笑我妖孽 提交于 2019-12-17 08:54:11
问题 I am developing a chat app for iPhone using XMPP and openfire server,OpenFire server is storing all the chat history between users but When I try to retrieve the chat history for a particular user I get only the date and the number of chat messages but not the actual text messages I have already installed open archive plugin for message archiving on openfire This is the stanza which I have passed to Openfire Server <iq type='get' id='pk1'> <list xmlns='urn:xmpp:archive' with='piyush@openfire'

Create MUC group like whatsapp Android

痴心易碎 提交于 2019-12-14 03:33:29
问题 I can creating and joining MUC rooms. But user disconnects from the Openfire server, he is removed from the group on the server side. How can i similar to what Whatsapp does, i.e. even if the user goes offline, he is still part of the MUC room (which is configured to be persistent on the server side) and will receive messages from other occupants. 回答1: When inviting an user, you have to grant him Membership: MultiUserChat muc = multiUserChatManager.getMultiUserChat("foo@conference.myserver");

Openfire chatting unexpected behavior

橙三吉。 提交于 2019-12-13 22:25:02
问题 We have used Openfire chatting with Android and iOS applications and all things are working perfectly before, but we are facing some unexpected behavior in chatting right now, like messages are taking more time to send and receive. Our app is live. I am sharing Openfire server debug and error logs and some screenshots. How can I find out what exactly issue happening with server and what could be the solution to resolve this issue? Also getting some error log from server. org.jivesoftware

XMPP chat sent/received message synchronization

丶灬走出姿态 提交于 2019-12-13 21:23:29
问题 Scenario : I am trying to develop a web site which features a chat widget. I am using ASP.NET, C#, agsXMPP library as my tools in achieving this purpose. I use Openfire jabber server for XMPP server. Problem : When I access the widget on the website and start chatting, I send a message with message type "chat" and thread set. I receive this message on the client in this case Spark. When I reply to this message, I see that the thread value is not the same as the one I sent? According to RFC

Property 'provider.user.className' as specified in openfire.xml differs from what is stored in the database

江枫思渺然 提交于 2019-12-13 19:23:26
问题 I am configuring openfire.xml for custom database integration and following is my openfire.xml <?xml version="1.0" encoding="UTF-8"?> <!-- This file stores bootstrap properties needed by Openfire. Property names must be in the format: "prop.name.is.blah=value" That will be stored as: <prop> <name> <is> <blah>value</blah> </is> </name> </prop> Most properties are stored in the Openfire database. A property viewer and editor is included in the admin console. --> <!-- root element, all

read incoming Message packets in pubsub using smack

。_饼干妹妹 提交于 2019-12-13 11:52:29
问题 i am trying to implement pubsub using openfire server and asmack library. i have configured my node in such a way that subscribers has to take the approval of publishers now i am trying to read the Message packet using following code but i am not getting any packet. i want to read Message packet because i want to know whenever the subscribers send the request to publishers to get subscribe. PacketTypeFilter filter = new PacketTypeFilter(org.jivesoftware.smack.packet.Message.class);

How To access open fire from another pc

做~自己de王妃 提交于 2019-12-13 09:20:04
问题 We installed open-fire in window-R2. It worked fine in localhost but when we access from another Pc It give me err "This webpage is not available" How I we access openfire from anoter PC? 1. we open all port 2. Off Firewall Work Fine in localhost.. But Not Work on when we accesed from anoter PC 回答1: Use your IP address and the port 9090 to access server of another computer.It should work. Both the computer should be in a same network, first check whether you can find that IP from your pc 来源:

How to get all registered user from Openfire through http

自作多情 提交于 2019-12-13 07:41:26
问题 I am trying to make Simple Openfire plugin.I have an ArrayList of usersnames which are phone numbers, i want all the registered users from it.The ArrayList want to send the ArrayList to server by json throung get or post method ,But i donot know how my plugin can listen for that request and respond to that user. 回答1: For your specific requirement you should check Openfire Rest-API Plugin. The plugin already provides Users related operations over HTTP, like: Get overview over all or specific

Openfire: Add contact subscription status set to 'from' instead of 'both'

廉价感情. 提交于 2019-12-13 04:16:48
问题 Hi I'm facing an issue with openfire and smack. I have a jabber bot developed using smack and openfire. When any user adds bot has his/her contact, then in the end of whole process, subscription status of ofRoster(openfire) table is set to 'from'. The desired result of this process is 'both'. here is my code of handling new adding connection, xmppConnection.getConnection().getRoster().setSubscriptionMode(Roster.SubscriptionMode.manual); xmppConnection.getConnection().addPacketListener( new

XMPP XEP 0333 Implementation in SMACK

痞子三分冷 提交于 2019-12-13 02:38:53
问题 I am developing a XMPP based chat application. My requirement is that I need to show the read/delivered status like in whatsapp. With some research I came to a understanding that I need to use XEP-0333 chat markers to achieve this functionality. In XMPP ios framework we have support for XEP-0333. For android I am using Smack library . I don't see any implementation of XEP-0333 in Smack library.Smack has implemented obsolete XEP-0022, not this one. Could somebody help me on this. How to