itsthesteve / react-aim

AOL AIM style chat in Deno because why not.
0 stars 0 forks source link

Create room directory #35

Open itsthesteve opened 1 week ago

itsthesteve commented 1 week ago

Currently the rooms kv storage is kinda clunky as it doesn't make searching for a specific room very efficient as the key is

["rooms", <owner_username>, <room_name>]

I'm thinking making another kv table that would just store the room name, maybe the creator as the value since we can easily query a room by a user with the existing implementation.

["rooms", <room_name>]