com.adrenak.univoice 4.10.4 → 4.10.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -164,7 +164,7 @@ namespace Adrenak.UniVoice.Networks
164
164
  continue;
165
165
 
166
166
  // If the peer has muted the sender using tag, skip sending audio
167
- if (recipientSettings.mutedTags.Intersect(senderSettings.myTags).Any())
167
+ if (senderSettings != null && recipientSettings.mutedTags.Intersect(senderSettings.myTags).Any())
168
168
  continue;
169
169
  }
170
170
  SendToClient(recipient, message.data, Channel.Unreliable);
@@ -157,7 +157,7 @@ namespace Adrenak.UniVoice.Networks {
157
157
  continue;
158
158
 
159
159
  // If the peer has muted the sender using tag, skip sending audio
160
- if (recipientSettings.mutedTags.Intersect(senderSettings.myTags).Count() > 0)
160
+ if (senderSettings != null && recipientSettings.mutedTags.Intersect(senderSettings.myTags).Count() > 0)
161
161
  continue;
162
162
  }
163
163
  SendToClient(recipient, message.data, Channels.Unreliable);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "com.adrenak.univoice",
3
- "version": "4.10.4",
3
+ "version": "4.10.5",
4
4
  "displayName": "Adrenak.UniVoice",
5
5
  "description": "Voice chat/VoIP framework for Unity.",
6
6
  "unity": "2021.2",