aboutsummaryrefslogtreecommitdiff
path: root/post
diff options
context:
space:
mode:
authorFChannel <>2022-05-01 10:50:48 -0700
committerFChannel <>2022-06-19 12:53:29 -0700
commit2af4a39ac16c6245f0e87ddf3cc137339f6c604f (patch)
treecec86f25fd4bcd7cc1efd0bd01cfe8524b41c42c /post
parent503a6637b8294aeb8e5e5546f8acbd2b3d6c4744 (diff)
creating new post and replying to post working
Diffstat (limited to 'post')
-rw-r--r--post/util.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/post/util.go b/post/util.go
index cead842..0b87d42 100644
--- a/post/util.go
+++ b/post/util.go
@@ -155,7 +155,7 @@ func IsMediaBanned(f multipart.File) (bool, error) {
hash := util.HashBytes(fileBytes)
- // f.Seek(0, 0)
+ f.Seek(0, 0)
return db.IsHashBanned(hash)
}