autogestion / pubgate-philip

Minimalist blogging ActivityPub client made with Svelte
10 stars 2 forks source link

add session to store, implement Object and User routes #16

Closed traumschule closed 4 years ago

traumschule commented 4 years ago

see #8, #11, #12

autogestion commented 4 years ago

fix for inbox in Timeline.svelte

const fetchCollection = function(path, session = {}, inbox=false) .... if (session.user && inbox) { headers_set["Authorization"] = "Bearer " + session.token; } .... case "/inbox": return pgi ? fetchCollection(session.user.inbox + "?cached=1", session, true) : fetchCollection(session.user.inbox, session, true);

autogestion commented 4 years ago

Yahoo!