-
I've extracted code from
UserRosterManagement.groovy
and added new methods toRosterAbstract.java
which have the same logic. With the use of those methods, it should be possible to manage users' roster if he is connecter or not and proper notifications should be triggered.@wojtek Could you review those changes? I think (as they were part of
UserRosterManagement.groovy
that they are OK, but would like to confirm that and would like to make sure that those changes will not break something.
Type |
Task
|
Priority |
Normal
|
Assignee | |
Version |
tigase-server-8.2.0
|
Spent time |
0
|
Issue Votes (0)
Watchers (0)
Right now it is not possible to easily edit users' roster while the user is not connected. The only way to do so is by manually loading the roster (for
RosterFlat
), parsing it, editing, serializing, and sending notifications. We are doing that inUserRosterManagement.groovy
. A very similar thing needs to be done inMIXProcessor
to actually edit a users' roster to add/remove a MIX channel entry while the user is not connected.It would be good to have a single "working" implementation in one place instead of having the same code in multiple places and be able to support any roster implementation (not only
RosterFlat
, which is now the only supported roster implementation for such editing).