[Feature] Room Join Link
Created by: gspasov
Relevant to issue [NY-7197]
- Created separate table for storing JoinLinks (it could be used for other than rooms). The structure is as follows:
-record('JoinLink', {id = [] :: [] | binary(),
room_id = [] :: [] | binary(),
type = [] :: [] | room}).
- Created new possible Feature for Links:
{'Feature',<<"355305ff-2e7a-4dbb-ac9b-bd68f85fb371_1">>,
<<"GROUP_JOIN_LINK">>,
<<"https://web.nynja.net/room/join/5SSXWSU9">>,
<<"LINKS">>}
- Now when creating a new Room, this feature is automatically added to the
settingskey; - Created a REST API for getting
room_idfrom encoded join_link_id;