mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-02 12:58:06 -06:00
bleep bloop
This commit is contained in:
parent
a30a1a267b
commit
b713ccac9f
15 changed files with 337 additions and 36 deletions
|
|
@ -113,7 +113,7 @@ func (mh *mediaHandler) ProcessAttachment(data []byte, accountID string) (*gtsmo
|
|||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
mainType := strings.Split(contentType, "/")[0]
|
||||
mainType := strings.Split(contentType, "/")[0]
|
||||
switch mainType {
|
||||
case "video":
|
||||
if !supportedVideoType(contentType) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue