ColinLefter / Accord

A real-time privacy-first social media platform leveraging feature-rich direct messaging text channels. Built as part of the course project for COSC 310 at UBC.
5 stars 1 forks source link

Finalized Real-Time Direct Messaging #119

Closed ColinLefter closed 5 months ago

ColinLefter commented 5 months ago

Summary of Changes

For the bolded point: I cannot stress enough how long it took me to figure that out. I thought my real-time messaging was disabled but it was because I was attempting to communicate with myself during testing. To actually test a real-time conversation you need another laptop as you need to change these variables.

Things to Know

Known Vulnerabilities

There are several ways to break the privacy feature. Here are some ways that need to patched in future iterations:

  1. It is possible to refresh your tab and re-enable the privacy toggle that was previously locked due to an initiated conversation.
  2. Both users need to have the privacy toggle set to true while they are chatting. In relation to the above vulnerability, this is enforced as long as users don't refresh. If one user refreshes their screen, the toggle will be unlocked and they can switch it off, get back to the chat and capture any incoming messages.