-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Excluding group from shared roster of ejabberd? #73
Comments
There is currently no way to do this, but you are pointing out an important point here. We do have three options for the shared roster:
For the latter, a separate repository is responsible. I see three options for solving this right now:
I would suggest implementing #3 for the general audience (input and filtering done in jsxc.nextcloud) and — for rare exceptions — filter #1 in the backend. What are your suggestions? |
For me personally 1. i.e. setting a group name in the backend to be excluded would be sufficient, but I get your point that it would be nice to also have some option for that in the front-end. By the way, what about Circles? Given the dynamic nature of chats, Circles from the official Circles App might be actually also well suited for roster groups. |
I am working on 1. It would have been ready by now, if I did not find a possible problem in the roster management which I am trying to hunt down first. (If it does work as intended, it is only a two-line change to the code.) 3 would definitely be an admin setting. Not only would it be hard for the user, the groups also need to be consistent (a user needs to be in a roster group or not, this cannot depend on the user's view). Circles have been discussed in jsxc/jsxc#605. You might continue there. |
Group hiding by appending U+200B to a group name has been added in f4e4be9. |
So how does one actually add this? Is there a keyboard short-cut? |
On Unix, it is |
Hmm, ok. Actually now thinking about it: what if you can not change the user-group's name as it comes from LDAP or another external user source? I know that you could try to link Ejabberd to LDAP directly, but in my case it is via the user_sql plugin to get the users from a php CMS. |
Then you are out of luck. That's why I chose a character like this, which should not have a visual impact, so it could even be added in the original source (LDAP, CMS, …). But I heard rumors that @sualko is considering implementing in in JSXC for Nextcloud (nextcloud/jsxc.nextcloud#112) (Of course, there is the option of modifying the source code to look for a different character or an entire specific name. This would be the place to change the code. |
Is it somehow possible to exclude a Nextcloud group from the shared roster feature?
I have one huge group with nearly all users that I do not want to show up in XMPP clients, while the smaller ones like admin would be nice to have.
Thanks for any tips how to set this up.
The text was updated successfully, but these errors were encountered: