mirror of https://gitlab.com/bashrc2/epicyon
Attachment type
parent
bf1d65ea57
commit
92941ac857
2
media.py
2
media.py
|
@ -115,7 +115,7 @@ def attachMedia(baseDir: str,httpPrefix: str,domain: str,port: int, \
|
|||
attachmentJson={
|
||||
'mediaType': mediaType,
|
||||
'name': description,
|
||||
'type': 'Document',
|
||||
'type': mediaType.split('/')[0],
|
||||
'url': httpPrefix+'://'+domain+'/'+mediaPath
|
||||
}
|
||||
if useBlurhash and mediaType.startswith('image/'):
|
||||
|
|
Loading…
Reference in New Issue