arj03 / ssb-browser-core

ssb-server in a browser
Other
50 stars 8 forks source link

Pass last updated timestamp back up #30

Closed KyleMaas closed 3 years ago

KyleMaas commented 3 years ago

Please note in browser-core we don't use ssb-ebt directly because it has a wierd interaction with the replication plugin. So you need to change it here instead. I'm not sure how good this information will be, as I haven't used it for anything, but could be interesting to see. Come to think of it, EBT should have a concept of stalled peers, but looking that up only reveals some tests. Might be a bit of a rabit hole :)

From @arj here: https://github.com/arj03/ssb-browser-demo/issues/141#issuecomment-781143630

This adds the timestamp (if there is one) to peer status so we can display it in the UI.