Migrate Message Data structure to hashmap #232
Labels
Frontend 🖥
Issues corresponding to the frontend/client.
Hard
You should be an active contributor to work on this issue
Improvement
Important changes made that are not described by an optimization or refactor
As of now, all incoming messages are stored in an array. However this is inefficient and also hard to play around with (especially with replies and reactions). Therefore we need to migrate to a hashmap
Map<Key, Value>
where Key is the messageID and the value is the message.Please also make it in chronological order please so the chat is normal :)
The text was updated successfully, but these errors were encountered: