-
Notifications
You must be signed in to change notification settings - Fork 8
Invites idea
const invitePt = {
server_id: "serverId",
created_by: "default",
id: "inviteId",
created: "timestamp",
expires: "timestamp"
};
Upon the creation of a robot_server, an invite key is automatically generated by default. Users don't require an invite key to access public server, however the default invite will be used when the user "joins" the server and becomes a member. On join, the invite ID is then stored in the "members" table for the associated user & server. If the server is closed to the public at a later time, anyone who hasn't joined will no longer be able to access this server.
An invite can be invalidated at anytime, and it will revoke all members associated with that invite.
an invite URL can be generated to allow a user to join a server. Individual users can also be invited via email.
Simple Implementation: remo.tv/join: Go to this url, and simply enter your invite key. This will automatically redirect you to the associated server.