small cleanup
This commit is contained in:
parent
2d762c9ea3
commit
aa5757d603
2 changed files with 3 additions and 3 deletions
|
|
@ -139,7 +139,7 @@ const EmojiPicker = {
|
|||
},
|
||||
components: {
|
||||
StickerPicker: defineAsyncComponent(
|
||||
() => import('../sticker_picker/sticker_picker.vue'),
|
||||
() => import('src/components/sticker_picker/sticker_picker.vue'),
|
||||
),
|
||||
Checkbox,
|
||||
StillImage,
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import escapeHtml from 'escape-html'
|
|||
import { unescape as lodashUnescape } from 'lodash'
|
||||
import punycode from 'punycode.js'
|
||||
|
||||
import fileTypeService from '../file_type/file_type.service.js'
|
||||
import { fileType } from '../file_type/file_type.service.js'
|
||||
import { isStatusNotification } from '../notification_utils/notification_utils.js'
|
||||
|
||||
/** NOTICE! **
|
||||
|
|
@ -304,7 +304,7 @@ export const parseAttachment = (data) => {
|
|||
if (data.type !== 'unknown') {
|
||||
output.type = data.type
|
||||
} else {
|
||||
output.type = fileTypeService.fileType(output.mimetype)
|
||||
output.type = fileType(output.mimetype)
|
||||
}
|
||||
output.url = data.url
|
||||
output.large_thumb_url = data.preview_url
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue