FollowVoiceUser: Fix condition to check voice state for user (#616)
* Fix condition to check voice state for user * Fix condition check for voice state in followVoiceUser
This commit is contained in:
parent
84900008ed
commit
5e153facba
1 changed files with 1 additions and 1 deletions
|
|
@ -88,7 +88,7 @@ export default definePlugin({
|
|||
|
||||
if (
|
||||
settings.store.onlyWhenInVoice
|
||||
&& VoiceStateStore.getVoiceStateForUser(UserStore.getCurrentUser().id) === null
|
||||
&& !VoiceStateStore.getVoiceStateForUser(UserStore.getCurrentUser().id)
|
||||
) return;
|
||||
|
||||
voiceStates.forEach(voiceState => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue