-
Notifications
You must be signed in to change notification settings - Fork 121
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
Implemented /join #809
Implemented /join #809
Conversation
…al commands uses, and some others commands like /shrug .)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good, leaving some comments here:
…id the synchronisations waits that can sometimes disable to enter the room (message "You're not into this room" or simply "You're not in this room yet. *Join the room*")
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some more comments:
…q#809) - Correction des erreurs d'indentations.
into RoomViewModel._processCommands
If the /join command success, an error was thrown, because of a copy-pasted command not well integrated The button of the error on "theme.css" contains now an unicode cross. The :after/:before cross was disformed when opening the room informations.
- renamed executeJoinCommand as joinRoom; - separated the joinRoom process and the parse and result process
I cannot send any message with this implement, it doesn't throw any error, I can see the I often have this error :
I absolutely don't know why this probleme occurs, I have read all my code again and if the first conditions are not entered by a simple message, I don't understand why the message isn't sent. |
- fixed a pretty syntax miss (a !== b); - fixed a type error : replaced "msgtype" by "type" when instantied the "messinfo" variable; - some indentation fixes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Last couple of changes:
- joined the processJoinRoom and joinRoom methods; - fixed some precisions miss; - removed some useless code; - change the error message height from absolute (40px) to relative (auto)
Implemented the /join command.
Change that have been added
switch
syntax to improve the commands manager.Should fix this issue (#792).