stream-chat
Advanced tools
Comparing version 8.40.3 to 8.40.4
{ | ||
"name": "stream-chat", | ||
"version": "8.40.3", | ||
"version": "8.40.4", | ||
"description": "JS SDK for the Stream Chat API", | ||
@@ -5,0 +5,0 @@ "author": "GetStream", |
@@ -387,4 +387,6 @@ import FormData from 'form-data'; | ||
// for empty list just concat and return unless it's an update or deletion | ||
if (!newMessages.length && addMessageToList) { | ||
if (newMessages.length === 0 && addMessageToList) { | ||
return newMessages.concat(newMessage); | ||
} else if (newMessages.length === 0) { | ||
return newMessages; | ||
} | ||
@@ -400,2 +402,4 @@ | ||
return newMessages.concat(newMessage); | ||
} else if (newMessages.length === 0) { | ||
return newMessages; | ||
} | ||
@@ -402,0 +406,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6838749
71050