Questions tagged [converse.js]

Converse.js is a Javascript-based XMPP/Jabber chat client for websites.

117 questions
1
vote
2 answers

ConverseJs modals not displaying properly when bootstrap 4 is being used already in website

I'm pretty new to ConverseJs, so please be patient with me.I have set up a Ejabberd server, and can connect to it happily with the ConverseJs plugin. However, when it comes to clicking any of the options that would display a modal, I am presented…
1
vote
2 answers

How to fetch private room list using ejabberd (using their API and/or using XML)?

I know I can retrieve a list of public rooms from my server using: XEP-0045 -…
Vitor Miranda
  • 135
  • 1
  • 1
  • 10
1
vote
0 answers

converse.js prebind authentication gives a fatal error

I am using prebind authentication in converse.js. When I initialize converse, I receive the error: "FATAL: TypeError: Cannot read property 'insertAdjacentElement' of null" The error can be traced back to converse-register.js:57, where…
1
vote
1 answer

Cannot get converse.js to work in embedded mode with local server

I cannot get converse.js web client to work in embedded mode. It works okay in fullscreen or overlayed mode (just change the view_mode attribute). My code below works perfectly well in fullscreen mode, but renders a blank screen as soon as I set…
1
vote
1 answer

converse.js : How can I pre-populate the Username field in the login form

I have tried this: I was hoping this would display a…
Alan Evans
  • 11
  • 1
1
vote
2 answers

Open conversejs chat window after it has already been closed with initialize

I have an mobile web based application where I want the user to only use a chat window between them and another person. I have javascript button that opens a chat window but it does it through the converse.initalize method with all the configuration…
Martin Naughton
  • 1,476
  • 17
  • 14
1
vote
0 answers

Converse.js and OpenFire passwordless authentication (certificates)

I want to enable passwordless authentication in Converse.js, using CA signed certificates, but I am having troubles with it. Here is what I've done: Added the CA in the truststore for OpenFire; Added the OpenFire certificate in its…
JohnCalms
  • 87
  • 7
1
vote
1 answer

Reading custom stanzas in converseJS plugin?

Is it possible to receive custom stanzas in converse.js? I tried to listen to incoming messages: converse.plugins.add('dummy', { initialize: function() { var _converse = this._converse; _converse.api.listen.on('message',…
zarathustra
  • 1,898
  • 3
  • 18
  • 38
1
vote
1 answer

Cannot read property 'getUniqueId' of undefined

sorry to bother anyone,but i really need help for this,i want to retrieve chat from database(which i already ask this question before),but i try to googling and read all the documentation,and i assumed that i have found the solution,i read the…
Prem
  • 15
  • 1
  • 10
1
vote
1 answer

ConverseJS: how to enable sound notifications for all messages in a muc chat room?

The play_sounds option in ConverseJS (version 3.2) allows "playing a notification sound when you receive a personal message or when your nickname is mentioned in a chat room" (see here). Is there a way to play sound for every new message in the muc…
MikeMarsian
  • 608
  • 1
  • 7
  • 21
1
vote
0 answers

Converse.js automatic message translation

How I can translate incoming message? I have made a plugin that listen on messageAdded event but I can't see the incoming message translated. This is my code chat.plugins.add('translate', { initialize: function () { var _converse…
Sknt srl
  • 43
  • 5
1
vote
1 answer

How i can write and use my methods in Converse JS

(Sorry for my english) Before i'm using converse js 2.0.4, but now i want update converse js to 3.0.2 I read documentation, but i don't understand how i can write and use my methods for chat. before i make it easy converse.listen.on('message',…
Vestars
  • 21
  • 3
1
vote
1 answer

$(...).datetimepicker is not a function when use converse.js

I want to implement XMPP chat functionality in my system using converse.js for client side chat interface. but when i use converse.js in my layout page, browser showing me error like $(...).datetimepicker is not a function $(...).dataTable is not a…
Bharat
  • 93
  • 11
1
vote
2 answers

How to send chat messages using converse library

I am using openfire as an XMPP server and using converse as client library. I want to send a chat message from my chat window to openfire. For this I want to send the text to a converse method which will send the message to the XMPP server. I am…
doubt
  • 315
  • 3
  • 18
1
vote
0 answers

Maintaining session with openfire using prebind_url in converse

I am using converse as a client with openfire and I want to maintain session with the openfire using web sockets and without specifying the user's password in the converse settings file. For this I wish to use prebind_url so that I can maintain…
doubt
  • 315
  • 3
  • 18