vrnmthr / online-contact

Web implementation of the popular 'contact' game
0 stars 0 forks source link

you shouldn't be able to answer your own clues #10

Open vrnmthr opened 4 years ago

vrnmthr commented 4 years ago

self-explanatory. on the backend, each clue has a .from field which is populated with the ID of the submitter.

on the frontend the submission should be disabled if the from field matches your socket.id