feat: read global from specific (paid) relays #249

Merged
v0l merged 4 commits from global-filter into main 2023-02-14 11:10:18 +00:00
Showing only changes of commit d7dabecde4 - Show all commits

View File

@ -283,6 +283,11 @@ const LoginSlice = createSlice({
if (pref) {
state.preferences = JSON.parse(pref);
}
// disable reactions for logged out
if (state.loggedOut === true) {
state.preferences.enableReactions = false;
}
},
setPrivateKey: (state, action: PayloadAction<HexKey>) => {
state.loggedOut = false;