[FIX] Thread message flickering while thread parent isn't found (#2676)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
This commit is contained in:
parent
3bc8161bc8
commit
13c3bc3c1b
|
@ -217,16 +217,11 @@ class MessageContainer extends React.Component {
|
|||
}
|
||||
|
||||
get isThreadSequential() {
|
||||
const {
|
||||
item, previousItem, isThreadRoom
|
||||
} = this.props;
|
||||
const { item, isThreadRoom } = this.props;
|
||||
if (isThreadRoom) {
|
||||
return false;
|
||||
}
|
||||
if (previousItem && item.tmid && ((previousItem.tmid === item.tmid) || (previousItem.id === item.tmid))) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
return item.tmid;
|
||||
}
|
||||
|
||||
get isEncrypted() {
|
||||
|
|
Loading…
Reference in New Issue