You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-28 15:22:05 +03:00
Appease the linter
This commit is contained in:
@ -597,7 +597,7 @@ export default class MessagePanel extends React.Component {
|
|||||||
|
|
||||||
let isLastSuccessful = false;
|
let isLastSuccessful = false;
|
||||||
const isSentState = s => !s || s === 'sent';
|
const isSentState = s => !s || s === 'sent';
|
||||||
const isSent = isSentState(mxEv.getAssociatedStatus())
|
const isSent = isSentState(mxEv.getAssociatedStatus());
|
||||||
if (!nextEvent && isSent) {
|
if (!nextEvent && isSent) {
|
||||||
isLastSuccessful = true;
|
isLastSuccessful = true;
|
||||||
} else if (nextEvent && isSent && !isSentState(nextEvent.getAssociatedStatus())) {
|
} else if (nextEvent && isSent && !isSentState(nextEvent.getAssociatedStatus())) {
|
||||||
|
Reference in New Issue
Block a user