disable reactions for logged out
This commit is contained in:
parent
6fef29a41e
commit
d7dabecde4
@ -283,6 +283,11 @@ const LoginSlice = createSlice({
|
|||||||
if (pref) {
|
if (pref) {
|
||||||
state.preferences = JSON.parse(pref);
|
state.preferences = JSON.parse(pref);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// disable reactions for logged out
|
||||||
|
if (state.loggedOut === true) {
|
||||||
|
state.preferences.enableReactions = false;
|
||||||
|
}
|
||||||
},
|
},
|
||||||
setPrivateKey: (state, action: PayloadAction<HexKey>) => {
|
setPrivateKey: (state, action: PayloadAction<HexKey>) => {
|
||||||
state.loggedOut = false;
|
state.loggedOut = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user