Closed
Bug 1106902
Opened 10 years ago
Closed 10 years ago
After deleting one room, the 'GET /rooms’ method includes the deleted rooms
Categories
(Hello (Loop) :: Server, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: oteo, Assigned: leplatrem)
Details
(Whiteboard: [loop-server 0.15.0])
Attachments
(1 file)
Loop server has been changed to report the deleted rooms after a Push notification when the client executes a ‘GET /rooms?version=<version>’ request (where version is the one delivered in the notification).
This is documented in [1]: "Additionally, if a "?version=<version>" parameter is included, then the list will include the rooms that have been deleted since that version.”
However, the deleted rooms are not only returned when the version parameter is included, but also when the client executes a ‘GET /rooms’ without the version parameter. E.g. this is received as part of such a request:
{"roomToken":"VHEB5zvl978","deleted":true},{"roomToken":"iw_LMr6rHI0","deleted":true},{"roomToken":"pdq_mupye78","deleted":true},{"roomToken":"T3Cz1T9Eyas","deleted":true},{"roomToken":"OVyRBE6DL7M","deleted":true}]
[1] https://wiki.mozilla.org/Loop/Architecture/Rooms
Reporter | ||
Comment 1•10 years ago
|
||
Please note that this does not occur in current Development server but on a custom server we have deployed based on current Loop Server master branch.
Comment 2•10 years ago
|
||
I suspect you are expecting to not have these included, correct? If so, we'll make this happen ;)
Reporter | ||
Comment 3•10 years ago
|
||
(In reply to Alexis Metaireau (:alexis) from comment #2)
> I suspect you are expecting to not have these included, correct? If so,
> we'll make this happen ;)
Very correct, Thanks a lot Alexis!
Assignee | ||
Comment 4•10 years ago
|
||
Attachment #8542505 -
Flags: review?(rhubscher)
Updated•10 years ago
|
Attachment #8542505 -
Flags: review?(rhubscher) → review+
Comment 5•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Assignee: nobody → mathieu
Whiteboard: [loop-server 0.15.0]
You need to log in
before you can comment on or make changes to this bug.
Description
•