forked from cory/tildefriends
ssb: Don't show 'Loading...' forever in the ssb app when not signed in. Direct to the login page.
This commit is contained in:
@ -106,6 +106,10 @@ tfrpc.register(async function getActiveIdentity() {
|
||||
tfrpc.register(async function sync() {
|
||||
return await ssb.sync();
|
||||
});
|
||||
tfrpc.register(async function url() {
|
||||
return core.url;
|
||||
});
|
||||
|
||||
core.register('onBroadcastsChanged', async function () {
|
||||
await tfrpc.rpc.set('broadcasts', await ssb.getBroadcasts());
|
||||
});
|
||||
|
Reference in New Issue
Block a user