Fix /sync may contain duplicate EDUs and EDUs for left rooms (#752)
In 29841be
(#718), EDUs are added to /sync responses for rooms listed
in joinedRoomIDs returned by addPDUDeltaToResponse. However this list
may contain rooms other than those currently joined.
Some variable renamings are done to make golangci-lint pass.
Signed-off-by: Alex Chen minecnly@gmail.com
main
parent
92db6cd0ea
commit
0dcf0a7d64