-
Notifications
You must be signed in to change notification settings - Fork 32
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
Update roster when creating, deleting and changing users #33
Conversation
This also fixes an avatar loading issue. |
TODO:
|
The filenames must be in lowercase to support Nextcloud 9 (I think it works in >9 because of some PSR4 implementing in core), but indeed the classes should be CamelCase. Sometimes an IDE does too much, thanks for catching 👍 |
fixes #35. There are two problems: - NC accepts to login with a username which has a different casing than the username in the DB. - the front-end sends "to" usernames as lowercase The solution is to convert the username of the current logged in user to lowercase and always use lowercase usernames in the DB. Signed-off-by: Tobia De Koninck <[email protected]>
@LEDfan I would like to make a new (beta) release in the next few days. Do you think we can merge or do you need more time? |
@sualko it's okay for me to merge this, I'll do the TODO's in a follow-up PR then (they are only some race conditions) |
@LEDfan do they need to go into the beta release? |
@sualko I'll probably work on it tomorrow or Saturday, but I don't think they need to go into the beta. |
I am not sure if I have to create a new issue or post it somewhere else, but there seems to be a regression after the update of the app to version 3.3.0. After the update to 3.3.0 the old problems showed up again. |
@Nils160988 please open an new issue, so we can keep track of it. |
This updates the roster of all clients when a user is created, deleted or updated.
Fixes jsxc/jsxc#565