Use isNumber
in handleDataMessage
This commit is contained in:
parent
1dda705c52
commit
63dda5bf19
1 changed files with 1 additions and 1 deletions
|
@ -2479,7 +2479,7 @@ export class MessageModel extends window.Backbone.Model<MessageAttributesType> {
|
|||
const isV2GroupUpdate =
|
||||
initialMessage.groupV2 &&
|
||||
_.isNumber(initialMessage.groupV2.revision) &&
|
||||
(!existingRevision ||
|
||||
(!_.isNumber(existingRevision) ||
|
||||
initialMessage.groupV2.revision > existingRevision);
|
||||
|
||||
if (isV2GroupUpdate && initialMessage.groupV2) {
|
||||
|
|
Loading…
Reference in a new issue