Also check for body
This commit is contained in:
parent
35bdcf58cd
commit
4d9c0d3f9a
|
@ -24,7 +24,8 @@ export function isEmptyMessage (attrs) {
|
|||
return !attrs['oob_url'] &&
|
||||
!attrs['file'] &&
|
||||
!(attrs['is_encrypted'] && attrs['plaintext']) &&
|
||||
!attrs['message'];
|
||||
!attrs['message'] &&
|
||||
!attrs['body'];
|
||||
}
|
||||
|
||||
/* We distinguish between UniView and MultiView instances.
|
||||
|
|
Loading…
Reference in New Issue
Block a user