Skip to content

Commit

Permalink
Always add URL field on media events
Browse files Browse the repository at this point in the history
  • Loading branch information
surakin committed Dec 29, 2023
1 parent 4efb226 commit c9175c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions portal.go
Original file line number Diff line number Diff line change
Expand Up @@ -3434,6 +3434,7 @@ func (portal *Portal) uploadMedia(intent *appservice.IntentAPI, data []byte, con
if file != nil {
file.URL = mxc.CUString()
content.File = file
content.URL = mxc.CUString()
} else {
content.URL = mxc.CUString()
}
Expand Down

0 comments on commit c9175c3

Please sign in to comment.