euphoria-io / heim

A real-time community platform.
https://euphoria.io
Other
874 stars 47 forks source link

Fix user list bug #93

Closed CylonicRaider closed 7 years ago

CylonicRaider commented 8 years ago

If there is only one user, they would not be displayed when using the development frontend. It has very probably to do with the deduplication, and might be related to repeated evaluation of the (stateful!) filter, so that the single entry becomes (erroneously) deduplicated upon repeated iterations; an eager (and therefore single) evaluation of the filter is forced using the toList(). The behavior is for unknown reasons not observed in the production frontend.