Added filtering when a user sends a new message in a study group chat. The new message will only display for other users if they have the same study group chat open.
Breakdown
Added a new argument in the 'UpdateMessages' socket event to pass the study group guid back to the front end.
Added a condition to filter the need to update the currently opened chat with a new message
Testing
Tested locally with two different users (on different browsers) sending messages in groups they share
Coverage remained the same at 88.0% when pulling 70abdba107c93c6dfb76dd2cffc7314c7ba289f2 on chat_filtering into f6c017314d4d4dea268e87057eab2ff36c002e1d on master.
Description
Added filtering when a user sends a new message in a study group chat. The new message will only display for other users if they have the same study group chat open.
Breakdown
Testing