xmpp

Emojicons Send face icons not work, send number icons work [closed]

拜拜、爱过 提交于 2019-12-12 01:06:18
问题 Closed . This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 5 years ago . When I send emojis nums icons, 1,2,3,4,5.... send correctly, But when I try send emojis icons how smile or others ... not send nothing ... My debug show a face smile, but not send. why ? then seems to not clean the buffer, and when you rewrite, the activity is closed, but not when using numbers

Dynamically change TextView in Fragment (public void processMessage)

三世轮回 提交于 2019-12-12 00:49:54
问题 I am looking for a way to create a chat fragment. So basically I am trying to make a fragment dynamic. As a first step I am trying to update a textview which I have to display messages received. I am using XMPP as a client and I am receiving message through the following function: @Override public void processMessage(Chat arg0, org.jivesoftware.smack.packet.Message message) { // TODO Auto-generated method stub String from = message.getFrom(); String body = message.getBody(); System.out

XMPP: AngularJS + Strophe

可紊 提交于 2019-12-11 20:13:56
问题 The basic XMPP with strophe and javascript wants to convert to AngularJS. .controller('loginCtrl', function(xmppAuth) { xmppAuth.auth(login, password); }) and in service: .service('xmppAuth', function() { .return { auth: function(login, password) { connect = new Strophe.Connection(domain); connect.connect(login, password, function (status) { if (status === Strophe.Status.CONNECTED) { connect.addHandler(on_roster_changed,"jabber:iq:roster", "iq", "set"); connect.addHandler(on_iq, null, "iq",""

Presence Stanze for ejabberd NOT working via mod_rest module

空扰寡人 提交于 2019-12-11 20:06:18
问题 Currently i am using ejabberd 14.05 server and using it`s mod_rest module to update the presence of the user from server based on a certain condition from a 3rd party web service. But i am not able to post the presence stanza to update the presence of user. Below are my finding. command using to invoke the presence stanza via mod_rest. curl --verbose --data "World" -X POST servername:5280/rest/ -H "Content-Type: text/xml" -H "Accept: application/xml" logs. ==> error.log <== 2014-12-12 03:00

Openfire in-band-registration via Bosh not working with Strophe/Strophe.register.js

南楼画角 提交于 2019-12-11 19:53:26
问题 I previously asked a similar question about ejabberd, however ejabberd was giving other problems, so I switched to openfire. For the sake of not making the original qestion to cluttered, I decided to create a new question, since this question pertains to openfire and is a different issue than the one I was having with ejabberd. So, here goes the question: I have a strophe.js xmpp client, which connects to an openfire 3.10.0 alpha server running on the Amazon cloud. I need 3.10.0 alpha over 3

How to format xmpp presence stanza to join a MUC room

懵懂的女人 提交于 2019-12-11 19:28:25
问题 I'm trying to figure out how to format a presence stanza being sent to a room, and I'm not following the examples I've found online. presence_stanza = f"<presence xmlns='jabber:client' from='{user_id}@conference.domain.com/{what_goes_here} to='{room_id}@conference.domain.com'/>" In particular I'm unsure what the ID/string that follows the / in the from address. For reference: https://www.ejabberd.im/node/5189/index.html Ejabberd not sending presence stanza to other roster members 回答1: You

Module to handle custom iq stanzas does not work with ejabberd-18.09

倾然丶 夕夏残阳落幕 提交于 2019-12-11 19:06:35
问题 I am trying to move to ejabberd-18.09 from ejabberd-17.03. I have this module so that I can send custom iq stanzas to ejabberd. -module(mod_test_custom). %% ==================================================================== %% API functions %% ==================================================================== -export([start/2, stop/1, process_local_iq/3,depends/2,mod_opt_type/1]). -include("ejabberd.hrl"). -include("logger.hrl"). -include("xmpp.hrl"). %% ==================================

Handle see-other-host in smack

懵懂的女人 提交于 2019-12-11 18:48:12
问题 I'm trying to use smack in order to connect to Microsoft's Xmpp Msn api. Last april they made a change in their implementation which forces clients to implement the "see-other-host" xmpp specification. When I try to connect to "xmpp.messenger.live.com" I get stream:error (see-other-host) at org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:260) at org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:43) at org.jivesoftware.smack.PacketReader$1.run(PacketReader

XMPP Connection Pool

馋奶兔 提交于 2019-12-11 18:12:10
问题 I'm developing service which communicates with users via my own protocol (persistent socket connection). I need to add possibility for users to send and receive messages via XMPP. So, on server I wish to implement connection pool for XMPP connections, but I think it's already done, but google says nothing... Do you now implementations? 回答1: You can use XMPPPool. I wrote that a long time ago and I don't support it in any way. However, there it is. I hope you find it useful. A bit of