Skip to content
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

[Public rooms] - List all the forums from the rooms directory #117

Closed
4 tasks done
giomfo opened this issue Jun 28, 2021 · 0 comments
Closed
4 tasks done

[Public rooms] - List all the forums from the rooms directory #117

giomfo opened this issue Jun 28, 2021 · 0 comments
Assignees
Labels

Comments

@giomfo
Copy link
Contributor

giomfo commented Jun 28, 2021

We implement here the first step of the option "Rejoindre un forum depuis l’annuaire" of the floating button (+):

  • retrieve all the forums (public rooms) from all the known homeservers - see the endpoint publicrooms
    Notes:
  • this was done in tchap_v1 by preparing a list of hosts see mCurrentHosts. Then a request was triggered on each host to retrieve its forums see initPublicRooms
  • no pagination is used in order to get all the forums (see PUBLIC_ROOMS_LIMIT = -1)
  • order all the forums to display first the most populated
  • the search is supported
  • remove the room creation option from the header (if the screen is the Element one)

Note the related code in tchap-ios is the PublicRoomService

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants