|
@@ -24,7 +24,8 @@ export function isEmptyMessage (attrs) {
|
|
return !attrs['oob_url'] &&
|
|
return !attrs['oob_url'] &&
|
|
!attrs['file'] &&
|
|
!attrs['file'] &&
|
|
!(attrs['is_encrypted'] && attrs['plaintext']) &&
|
|
!(attrs['is_encrypted'] && attrs['plaintext']) &&
|
|
- !attrs['message'];
|
|
|
|
|
|
+ !attrs['message'] &&
|
|
|
|
+ !attrs['body'];
|
|
}
|
|
}
|
|
|
|
|
|
/* We distinguish between UniView and MultiView instances.
|
|
/* We distinguish between UniView and MultiView instances.
|