Chats v3:Dev Notepad:GLPC
From PJJ Wiki
Chats
- A chat can be either a parent or a child chat.
- Chats are by default parents. A single chat is also a parent chat.
- A child chat is "owned" by another chat (the parent).
- Child chats have no users of their own but instead inherit them from their parent.
- This extends only to 1 level. The longest relationship is parent->child, not parent->child->grandchild or further.
- A parent chat can have unlimited children, but a child chat only has one parent.
Users
- A user can be either a parent or a child user.
- Users are by default parents. A single user is also a parent user.
- Only global users can be parents, but both global and local users can be children.
- A child user is "owned" by another user (the parent).
- Child users have no password or email of their own but instead inherit those from their parent. What else should be inherited is yet to be finalized.
- This extends only to 1 level. The longest relationship is parent->child, not parent->child->grandchild or further.
- A parent user can have unlimited children, but a child user only has one parent.
Chat Users
- A user can be either global or local.
- Global users count as "registered" in all chats that honor global users.
- Local users are registered in only one chat and all children of that chat.
- Chat Masters have direct control over all local users of the chat, including deleting them and resetting their password, email, editing their profile, etc.
- Chat Masters have very limited control over global users, such as setting chat-specific flags, etc.
