Skip to content

Commit

Permalink
Content in NIP-94 as well
Browse files Browse the repository at this point in the history
  • Loading branch information
ice-cronus committed Sep 19, 2024
1 parent 719859b commit aea69c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nip94/nip94.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ type FileMetadata struct {
TorrentInfoHash string
Blurhash string
Thumb string
Content string
}

func (fm FileMetadata) IsVideo() bool { return strings.Split(fm.M, "/")[0] == "video" }
Expand Down

0 comments on commit aea69c5

Please sign in to comment.