mirror of
https://github.com/calzoneman/sync.git
synced 2024-09-13 04:32:09 +00:00

User.prototype.refreshAccount was responsible for multiple race condition bugs as well as inefficient duplication of DB queries in an attempt to correct such race conditions. It has now been replaced by a more reasonable model: * Global user account information and aliases are fetched in parallel on socket connection * Channel rank is fetched when the user tries to join a channel