niklaslong / matrix-client

An experimental client for Matrix built in Elixir
1 stars 0 forks source link

Room state #14

Closed fancycade closed 3 years ago

fancycade commented 4 years ago

We should merge #13 before this.

This PR addresses #7 and #11.

niklaslong commented 4 years ago

Looks like #13 introduced some conflicts, @fancycade could you rebase?

fancycade commented 4 years ago

Oops didnt realize the log would be that screwed up. Good thing this is an experiment :rofl:

fancycade commented 4 years ago

@niklaslong Updated based on feedback.

Changed any helper names or refactored.

Moved ids into its own map. The reason for it is that internally there are times to translate an alias to an id, and then the alias map is to translate an id to an alias (typically for external reasons like listing joined rooms). Can't decide if the naming is backwards or not :laughing: