Coder Social home page Coder Social logo

Comments (3)

MarcelWaldvogel avatar MarcelWaldvogel commented on May 18, 2024

Good idea!

In the meantime, you can do it the way I currently work around this problem, which works if all the XMPP domains are served by the same server:

In …/apps/ojsxc/js/ojsxc.js in preJid, I have added a few lines with

if (jid == "user1") { domain = "domain1"; }

after

var domain = data.xmppDomain;

from jsxc.

tbeitter avatar tbeitter commented on May 18, 2024

cool, that works even if it's very static off course :) Thanks.

Another thing:

Maybe there could be another option to allow the users to enable/disable the webclient for them at all. Some users may not use xmpp and they will be enervated by clicking "login" instead of "login without chat" after some time. I know that because I forgot it every single time while working with my testhost (where xmpp http-bind is not yet working) :)

from jsxc.

sualko avatar sualko commented on May 18, 2024

owncloud-archive/jsxc.chat@c41d8f7 fixes both of your issues and will be published as v0.8.1 this evening.

To enable the new functionality you have to check "Allow user to overwrite XMPP settings" on the admin page and relogin. After that you are able to disable jsxc on login and define your own xmpp settings via jsxc>"settings">"Login options". You are only required to use the same password in oc and xmpp, because I don't want to save it.

from jsxc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.