refactoring formatters for lazy display of scaled image previews (WIP)

This commit is contained in:
or-else
2021-09-17 22:10:41 -07:00
parent ae528ef8d6
commit c2c3b743b3
9 changed files with 249 additions and 38 deletions
+1 -1
View File
@@ -871,7 +871,7 @@ class MessagesView extends React.Component {
// Make small image previews.
const images = [];
Drafty.entities(content, (data, idx, tp) => {
if (tp == 'IM') {
if (tp == 'IM-disable') {
images.push({
tp: tp,
data: data