idk how replit does it but in my social media website, i check each word to see if it starts with @, then I remove the @ from the word. If the word is a real user's username, I give them a notification
Pinging works almost identically to messaging. Each user should have a database key and when the code detects an @ it takes the target username and puts a notification under that database key.
idk how replit does it but in my social media website, i check each word to see if it starts with @, then I remove the @ from the word. If the word is a real user's username, I give them a notification
@VulcanWM I know how that works, but how does the ping actually go to the pinged persons notifications?
its in the db @CodingEssence
@Coder100 db as in database, right?
Yeah as the the notifications are saved in a database replit can control @CodingEssence
yes @CodingEssence
@Coder100 @VulcanWM ooo ok got it thanks!
np @CodingEssence
np! @CodingEssence