Use POJO instead of MessageModel in ConversationView quote logic

This commit is contained in:
Evan Hahn
2021-06-22 18:16:50 -05:00
committed by GitHub
parent c9b1ce6655
commit 6b2dfeb9f5
8 changed files with 92 additions and 119 deletions

View File

@@ -137,7 +137,6 @@ const Errors = require('./types/errors');
const MediaGalleryMessage = require('../../ts/components/conversation/media-gallery/types/Message');
const MessageType = require('./types/message');
const MIME = require('../../ts/types/MIME');
const PhoneNumber = require('../../ts/types/PhoneNumber');
const SettingsType = require('../../ts/types/Settings');
// Views
@@ -417,7 +416,6 @@ exports.setup = (options = {}) => {
Errors,
Message: MessageType,
MIME,
PhoneNumber,
Settings: SettingsType,
VisualAttachment,
};