ejabberd

How to receive message stanza without sending self presence?

微笑、不失礼 提交于 2020-01-06 06:35:49
问题 I am using mongooseim with Android and Ios application. I just want to receive message from the server from background without sending self presence to anyone because this task is done by system. But I can't receive message stanza until I send my presence to the mongooseIM. Do I missing something or there is a way by which I can get quick update from MongooseIM server in the background without sending presence? 回答1: As far as I understand you all you want to do is sync the messages when you

Can't login to ejabberd admin panel

懵懂的女人 提交于 2020-01-05 05:46:06
问题 I downloaded ejabberd for Windows, and during the setup process created the admin name and password. I'm attempting to access the admin control panel (localhost:5280/admin), and am attempting to login with the username (admin@MyServer) and password, but each time it just asks me to log in again. The server is running too, so I'm not sure what I'm doing wrong. 回答1: ejabberd 16.09 will be released shortly and will include that fix. Ref: Here. for now start ejabberd with this command ejabberdctl

XMPP Libraries for Metro Apps in WinRT [closed]

烂漫一生 提交于 2020-01-03 13:36:53
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . Could you please list down some XMPP Libraries which supports for Metro Apps in WinRT? Thanks! 回答1: MatriX is available for WinRT

ejabberd: retrieve chat history from mysql db

非 Y 不嫁゛ 提交于 2019-12-31 22:59:16
问题 I'm building a chat system based on ejabberd using an iOS client (and XMPPFramework). My current chat system supports only one-on-one conversations between users saving a chat history on a MySQL database. In order to recreate the same chat system, i'd need ejabberd to retrieve chat history from my database so the users don't lose previous conversations when switching to the new chat system. I'd like not to save the conversation client-side since the iOS app can be deleted and reinstalled (or

Ajax jabber/XMPP client recommendations (real experience only please) ! [closed]

我与影子孤独终老i 提交于 2019-12-29 16:24:05
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . i'm setting up a chat system for my niche social site and have decided on ejabberd for the server side, but i cannot find any decent web-based ajax clients. most seem to be abandoned years ago or simply do not work. i've looked at every single one here : http://xmpp.org/xmpp-software/clients/ Is anyone running a

Ejabberd module to send an acknowledge message

天大地大妈咪最大 提交于 2019-12-25 18:24:41
问题 This erlang code I am using to send message acknowledgement. While using this I am getting error, error log is given below My code: -module(mod_ack). -behaviour(gen_mod). %% public methods for this module -export([start/2, stop/1]). -export([on_user_send_packet/3]). -include("logger.hrl"). -include("ejabberd.hrl"). -include("jlib.hrl"). %%add and remove hook module on startup and close start(Host, _Opts) -> ?INFO_MSG("mod_echo_msg starting", []), ejabberd_hooks:add(user_send_packet, Host,

400 bad request error while calling ejabberd api

守給你的承諾、 提交于 2019-12-25 12:54:39
问题 I am getting 400 bad request error while calling "/api/get_roster" endpoint of ejabberd. I had kept "get_roster" in the scope while requesting the oauth token. 400 bad request error in ejabberd I guess there is some issue with the permissions. Here is my configuration file: https://www.dropbox.com/s/his89bx39qhvr1h/ejabberd2.yml?dl=0 I have tried to follow the official documentation. As per the API permission guide, I have also tried adding following properties: api_permissions: - "Admin

asmack library behaving differently when installed from Eclipse vs installed from apk in Android

不问归期 提交于 2019-12-25 11:13:42
问题 I am developing a chat app in Android which runs in all versions of Android ( starting from 2.3.5 to the latest kitkat) and every thing is working fine when it comes to chatting, but I am facing one BIG issue. The issue is when I generate the apk and install the apk in Android mobile (using package installer), the user goes offline in some time ( say in XYZ mins ).In S3 it is 40 mins and in S5 it is 30 mins and in htc desire hd it is 20 mins after which the user is disconnected. But when I

Erlang module mod_confirm_delivery doesn't works with Ejabberd 16.03

心已入冬 提交于 2019-12-25 09:30:11
问题 I'm developing an Android Chat app and i'm trying to run the Erlang module mod_confirm_delivery in order to receive all the messages sent when the user suddenly lose the internet connection (but still appears online on the server). The module start correctly but doesn't works on Ejabberd 16.03, in fact all the messages sent to the "offline" user are lost, i've made some adaptations because the module was created for an older version of Ejabberd, but seems is not enough for make it working. I

Unable to connect to ejabberd localhost

不羁岁月 提交于 2019-12-25 05:48:07
问题 I am tyring to connect to the ejabberd localhost from my android application The ejabbered server does not show the online user on ejabberd web admin. AbstractXMPPConnection conn1; conn1 = new XMPPTCPConnection("MyID@localhost", "password", "192.168.1.23"); conn1.connect(); if(conn1.isConnected()) { Toast.makeText(this,"conn 1 successfull",Toast.LENGTH_LONG).show(); } // Create a connection to the jabber.org server on a specific port. XMPPTCPConnectionConfiguration config =