Clean up MessageModel group_update

This commit is contained in:
Evan Hahn 2021-06-23 11:14:11 -05:00 committed by GitHub
parent 0a4eef29db
commit b990204bce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 27 additions and 28 deletions

View file

@ -671,7 +671,7 @@ function getPropsForGroupNotification(
});
}
if (groupUpdate.joined) {
if (groupUpdate.joined?.length) {
changes.push({
type: 'add' as ChangeType,
contacts: map(