use streaming API by default

This commit is contained in:
sadposter 2021-12-05 14:50:30 +00:00
parent 238ebcf1e4
commit fd9f78a7a1
3 changed files with 4 additions and 2 deletions

View file

@ -4,6 +4,8 @@
.emoji {
--_still_image-label-scale: 0.5;
width: 50px;
height: 50px;
}
& .text,

View file

@ -47,7 +47,7 @@ const chats = {
const fetcher = () => dispatch('fetchChats', { latest: true })
fetcher()
commit('setChatListFetcher', {
fetcher: () => promiseInterval(fetcher, 5000)
fetcher: () => promiseInterval(fetcher, 60000)
})
},
stopFetchingChats ({ commit }) {

View file

@ -55,7 +55,7 @@ export const defaultState = {
highlight: {},
interfaceLanguage: browserLocale,
hideScopeNotice: false,
useStreamingApi: false,
useStreamingApi: true,
sidebarRight: undefined, // instance default
scopeCopy: undefined, // instance default
subjectLineBehavior: undefined, // instance default