Skip to content

Commit

Permalink
show date separator before delted message
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaap committed Mar 27, 2020
1 parent f5d5f0c commit 8ed3ca5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/MessageList.js
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ class MessageList extends PureComponent {
insertDates = (messages) => {
const newMessages = [];
for (const [i, message] of messages.entries()) {
if (message.type === 'message.read' || message.deleted_at) {
if (message.type === 'message.read') {
newMessages.push(message);
continue;
}
Expand Down

0 comments on commit 8ed3ca5

Please sign in to comment.