Questions tagged [converse.js]

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

117 questions
1
vote
0 answers

How can i use my existing cakephp based project users to work with XMPP ejabberd chat application

I have a cakephp2.3 based project with table name "user_master". I am using ejabberd chat application and ejabberd user table name is "user". I am using convers.js client. Now i am facing problem to use my existing project user with XMPP ejabberd to…
Sunil kumar
  • 761
  • 5
  • 15
1
vote
1 answer

Converse.js: How to display fullname from vCard in chatbox

I am using converse.js library to create XMPP client, but I can't figure out how to display user's full name (if have) from vCard instead of username in chatbox. Is there some simple configuration solution, or I need to write custom plugin for it?
user4299190
1
vote
2 answers

Send message programmatically with converse.js?

I am using converse.js to provide chat functionality. I am looking for a way to send some messages thru the API based on other buttons in the rest of the system. var chat =…
sww314
  • 1,252
  • 13
  • 17
1
vote
1 answer

How do I alias a loader in webpack?

I am trying to use converse.js and load it with webpack. Converse.js loads there templates like this: define("converse-templates", [ "tpl!action", "tpl!add_contact_dropdown", "tpl!add_contact_form", Which gives me an error like…
sww314
  • 1,252
  • 13
  • 17
1
vote
1 answer

Deny messages from non-roster users in Openfire

How do I only allow contacts who are on my roster list to send me messages? Is there any XEP responsible to do that? Or will I need to do this client-side?
Alex M.
  • 635
  • 1
  • 6
  • 19
1
vote
1 answer

Customize converse.js to create desktop chat layout (like web.whatsapp.com)

Can anyone give some idea on how to go about customizing the converse.js file in angularjs so that it can be displayed as a web page rather than its predefined toggle functionality? Please give some idea about how to initiate with the customization…
Naman Gupta
  • 67
  • 1
  • 1
  • 15
1
vote
1 answer

want to disable adding of rooms but should be able to display the rooms in converse.js

Can anybody help me out if it's possible to make the form for joining a room invisible and to make the list of rooms take the entire space in the rooms tab. Please help me out. Image showing the part to be made invisble
abhijit
  • 187
  • 1
  • 1
  • 12
1
vote
1 answer

Persistence for user Multi-User Chat in Converse.js

I want to retrieve all chat conversations from ejabberd, even after I logout, close the browser and login again. Please suggest any way to do it. I am using converse.js. Should I add something in converse configuration to retrieve the chat…
abhijit
  • 187
  • 1
  • 1
  • 12
1
vote
1 answer

register a user in converse.js to ejabberd server using javascript

how to register an user using converse.js to ejabberd from javascript instead of using register form of converse.js. I want to register the user using converse.js api instead doing it manually from the form. Please help me with your suggestions.
abhijit
  • 187
  • 1
  • 1
  • 12
1
vote
2 answers

Converse.js Message Archiving not working

I am currently using the ConverseJS library in order to connect to the XMPP server and it is working pitch perfect. The one problem I am facing is that I want the chat history and in XMPP there is a function to fetch the message. I am using the…
Kinshuk Lahiri
  • 1,468
  • 10
  • 23
1
vote
1 answer

Adding a jabber client as portlet in NetSuite

Is it possible to add an open source jabber client such as converse.js via portlet or suitelet's online html field and attaching that somehow to a record ? I tried by adding the converse.min.js as a library script file and converse.min.css in the…
user4076248
  • 433
  • 2
  • 5
  • 10
1
vote
0 answers

Disconnection issue with converse prebind by smash to openfire

I'm using Openfire to make an http-binding with Converse.js. I want to prebind it in order to make single session on my webapp. I used the java librarie smack-bosh. I succeed to login (and stay logged) with converse directly to openfire (chat, add…
GuiguiDt
  • 263
  • 1
  • 11
1
vote
1 answer

How to configure BOSH server to support my own XMPP server?

I set up a BOSH server using node-xmpp-bosh and configured converse.js (a javascript XMPP client) to use the BOSH url I set up, I tried log in with my jabber.org account on converse.js and all worked fine. Now I need to make this work with a private…
Romstar
  • 1,139
  • 3
  • 14
  • 21
1
vote
1 answer

How do we extract the values of rid and sid from the strophe connection

I am trying to the get the values of SID, RID and JID from the strophe connection and trying to pass them to converse.js. I am running the example that comes with strophe and I am able to get the message with all the values but i can not retrieve…
Mahi
  • 71
  • 1
  • 4
1
vote
1 answer

proxy_pass does not work properly

I need to resolve some Cross Domain Policy issues for our team's project setup (Converse.js, XMPP, BOSH, ...) by setting up a nginx reverse proxy configuration. I want to archieve exactly these bindings: nginx to local gunicorn HTTP server…
mitchkman
  • 6,201
  • 8
  • 39
  • 67