3 changed files with 1066 additions and 87 deletions
@ -0,0 +1,15 @@
@@ -0,0 +1,15 @@
|
||||
@startuml |
||||
start |
||||
:Look up the provided channel name\nin the server directory; |
||||
if (Is there an entry?) then (yes) |
||||
:Add a membership entry for the user,\ngiving them the //user// role; |
||||
else (no) |
||||
:Create a groupchat; |
||||
:Insert a new directory entry with\nthe given name and the groupchat UUID; |
||||
:Insert the standard set of roles into\nthe database for that groupchat; |
||||
:Add a membership entry for the user,\ngiving them the //operator// role; |
||||
endif |
||||
:Let the user know about the join; |
||||
:Deliver any message history to the user; |
||||
stop |
||||
@enduml |
Loading…
Reference in new issue