jaros1 / Money-Network

Demo with complementary and alternative money. Implemented in ZeroNet and AngularJS. Focus on privacy, encryption, max data in client and min data on ZeroNet. Work in progress.
GNU General Public License v2.0
4 stars 4 forks source link

Chat2 - public chat is not already loaded #307

Closed jaros1 closed 6 years ago

jaros1 commented 6 years ago

First page reload. Public chat not loaded. Second page reload. Public chat loaded.

127.0.0.1-1516612290490.log

First page reload: 10:10:08.709 VM2266 all.js:12547 MoneyNetworkService.z_contact_search: ZeroFrame.site_info is not ready. Try again in 5 seconds. Refresh page (F5) if problem continues 10:10:13.710 VM2266 all.js:12566 MoneyNetworkService.z_contact_search: calling get_my_user_hub Many z_contact_search calls in first page reload and no public chat displayed. Why?

jaros1 commented 6 years ago

Added wait for first z_contact_search to finish in Chat controller. Reloaded chat page a number of times without problems. Could be nice with more debug info for not logged in users. See issue https://github.com/jaros1/Money-Network/issues/308 Move debug options to Auth page?