migrate to unified "capabilities" API

This commit is contained in:
ari melody 2024-06-21 04:55:24 +01:00
parent 7779845056
commit 191212c940
Signed by: ari
GPG key ID: CF99829C92678188
6 changed files with 198 additions and 246 deletions

View file

@ -1,6 +1,6 @@
<script>
import Feed from './Feed.svelte';
import { Client, server_types } from './client/client.js';
import { Client } from './client/client.js';
let ready = Client.get().app && Client.get().app.token;
@ -25,7 +25,6 @@
});
}
function log_out() {
Client.get().logout().then(() => {
ready = false;