Comments (3)
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.
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.
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)
- OMEMO messages from MAM won't be decrypted HOT 5
- Provide your PGP signing key promimently on the JSXC web-site / install instructions. HOT 4
- Avatars not loading on reconnect
- Creating a common headless JSXC package with pazznetwork/ngx-chat HOT 1
- Nextcloud unknown error on registration
- Registration failed Managed (Beta service) HOT 6
- [To delete]
- cross domain request was not possible. Either your BOSH server does not send any Access-Control-Allow-Origin header or the content-security-policy (CSP) blocks your request. The safest way is still to use Apache ProxyRequest or Nginx proxy_pass. HOT 1
- Clicking online in Nextcloud JSXC with Activate time-limited tokens (beta) enabled causes JSXC to refresh quickly and not do anything except create a new BOSH session in prosody HOT 1
- JSXC chat menu covers up Nextcloud Dashboard icons on Nextcloud 24.0.1 with Dashboard 7.4.0 on Google Chrome v102 HOT 1
- no-request-id and HTTP 405 from nextcloud instance when registering for beta external server HOT 2
- does this lib. supports end-to-end encryption for group chat(muc).
- Invalid XML received. Maybe https://xxx.xxx.xxx/http-bind/ was redirected. You should use an absolute url.
- Use Transifex for continuous translation please HOT 5
- xmpp.org: Host doap file for client presenation
- video call in from different networks doesn't work HOT 1
- Cannot send to existing MUC if MUC is on another domain HOT 1
- Edit GitHub Repository
- Failed to decrypt OMEMO message HOT 1
- Cross domain request was not possible. Either your BOSH server does not send any Access-Control-Allow-Origin header or the content-security-policy (CSP) blocks your request. The safest way is still to use Apache ProxyRequest or Nginx proxy_pass.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jsxc.