fix: incorrect direction check in getPropsForExpiringMessage

pull/2660/head
William Grant 2 years ago
parent b601c11871
commit 959fb661c3

@ -296,7 +296,9 @@ export class MessageModel extends Backbone.Model<MessageAttributes> {
: null; : null;
const direction = const direction =
this.get('direction') || this.get('type') === 'outgoing' ? 'outgoing' : 'incoming'; this.get('direction') === 'outgoing' || this.get('type') === 'outgoing'
? 'outgoing'
: 'incoming';
return { return {
convoId: this.get('conversationId'), convoId: this.get('conversationId'),

Loading…
Cancel
Save