Projects tigase _server server-core Issues #1312
RosterAPI improvements (only BareJID items and no nulls) (#1312)
Open
wojciech.kapcia@tigase.net opened 3 years ago

Followup to discussion in #issue #1311 (and it's PR). Currently RFC doesn't explicitly forbids FullJIDs in roster, but the general consensus is that it's very, very bad idea and should be avoided altogether. To that end we should switch our RosterAPI to use BareJIDs in 9.0

While we would be changing the API we could also make some additional improvements: use collections instead of arrays and avoid returning nulls in favour of empty collections.

wojciech.kapcia@tigase.net commented 3 years ago

I added @Deprecated annotations to the API. One thing I noticed was that internally our implementation used BareJID thus API exposing FullJIDs made no sense...

wojciech.kapcia@tigase.net batch edited 4 months ago
Name Previous Value Current Value
Iterations
empty
tigase-server-9.0.0
issue 1 of 1
Type
Task
Priority
Normal
Assignee
Version
tigase-server-9.0.0
Iterations
Issue Votes (0)
Watchers (2)
Reference
tigase/_server/server-core#1312
Please wait...
Page is in error, reload to recover