Questions tagged [ejabberd-module]

eJabbberd is an XMPP application server written primarily in Erlang (with growing support for Elixir)that is extended through the use of extension modules formally known as XEPs. A list of XEPs can be fond here.

173 questions
1
vote
0 answers

How to send push notification to a offline user ejabberd

Hi I am new with Ejabberd and I don't know how to send push notification to an offline user I check in previous posts related to this topic and I found a solution in which we have to create a separate module which triggers whenever message store in…
Virendra Varma
  • 895
  • 1
  • 12
  • 23
1
vote
1 answer

How to create a JSON Object and pass it in a REST API call?

I am new with Erlang and my doubt is how to create a JSON Object in Erlang and pass that object in REST API call. I have read so many posts but didn't get any satisfying answer. Edit Here I am calling the API: offline_message(From, To, #message{type…
Virendra Varma
  • 895
  • 1
  • 12
  • 23
1
vote
2 answers

How can I force eJabberd to store encrypted messages to the database (mod_mam) instead of storing messages as plain text?

Im building a secure messaging system based on ejabberd server. But I have realized ejabberd (mod_mam module) stores message archive at barely plain text. If database will be stolen (some kind) chats of all my users will be compromised. How can I…
lovesuper
  • 323
  • 3
  • 12
1
vote
1 answer

Ejabberd - ejabberd_auth_external:failure:103 External authentication program failed when calling 'check_password'

I already have a schema of users with authentication-key and wanted to do authentication via that. I tried implementing authentication via sql but due to different structure of my schema I was getting error and so I implemented…
user8201447
1
vote
0 answers

Can't find .erlang.cookie file

I have installed ejabberd-18.09 on mac through binary installation. But I am not able to find the .erlang.cookie file. Ejabberd is working fine, but is there any command to get the path of the cookie file. If not, where can I find it? EDIT Although…
abhishek ranjan
  • 612
  • 7
  • 23
1
vote
1 answer

How to delete particular message between two user from ejabberd using XMPPFramework?

I am trying to delete the message from ejabberd but getting the error from it.
Nitin Singh
  • 271
  • 2
  • 12
1
vote
1 answer

Ejabberd 18.04 - Custom Module - Read custom message field from Packet

I am trying to implement a custom module to log all the messages to a webhook. I've found a good reference to do that, https://github.com/PH-F/mod_offline_http_post/blob/master/src/mod_offline_http_post.erl. I have some custom tag in the message…
dichen
  • 1,643
  • 14
  • 19
1
vote
1 answer

i cant do send a announce whit strophe.js, what are modules it is necessary?

i cant do send a announce whit strophe from ejabberd sever 18.03. It is possible, how? i cant use this code ? https://github.com/bbc/Strophejs-PubSub-Demo/blob/master/js/publisher.js
Devid
  • 11
  • 6
1
vote
0 answers

SmackAndroid(context) not found user search module ejabberd

I am working upon a android based chat application using ejabberd-17.01 server on windows. Using Smack 4.1 for android. I want to search for users using following code public void searchUser(){ try { UserSearchManager userSearchManager =…
1
vote
0 answers

Ejabberd external autorization with NodeJS

I am developing ejabberd external authorization with ejabberd but it does not seem to work I used ejabberd-auth npm module and set ejabberd.yml as follows auth_method: external extauth_program: "node ~/ejabberd-auth/index.js" but it does not work…
Hassnain Alvi
  • 333
  • 6
  • 16
1
vote
1 answer

Ejabberd privacy_set doesn't save anything in mysql

I want my users to be able to block each other. So I did some research and figured out that it can be done with privacy_set. So I added mod_privacy and mod_blocking in config file. The problem is when I run the following command nothing is getting…
AliRNazari
  • 1,044
  • 18
  • 28
1
vote
1 answer

Configure ejabberd with Mysql , Error p1_mysql.app not found

I am trying to configure ejabberd with mysql database. After changes into the yml file i got this error while starting node. 2017-01-09 13:07:27.386 [critical] <0.38.0>@ejabberd:exit_or_halt:133 failed to start application 'p1_mysql': {error, …
krunal nanda
  • 235
  • 1
  • 12
1
vote
1 answer

Ejabberd rooms invitation and join not working

I've got an ejabberd (v14.07) self-hosted server, with both mod_muc and mod_muc_admin enabled. I'm trying to create a conference room to make some users communicate through a common multi-chat. Each client uses AstraChat or ChatSecure apps. Here…
auino
  • 1,644
  • 5
  • 23
  • 43
1
vote
0 answers

How to manage the payload contents of push notifications for iPhone in Ejabberd

I have created a chat application in iPhone with Ejabberd 16.03. If end user mobile app is not running in the foreground/background, an alert is sent each time a message is received via push notification by Ejabberd. In the payload of this…
1
vote
1 answer

How to paginate roster fetch call on ejabberd

I am running my chat service on ejabberd, but after 4-5 months of no downtime, I have come to use case where it's taking a lot of time in fetching rosters for the users whose roster list is too big. At many places it's mentioned that pagination…
1 2
3
11 12