From 2af4a39ac16c6245f0e87ddf3cc137339f6c604f Mon Sep 17 00:00:00 2001 From: FChannel <> Date: Sun, 1 May 2022 10:50:48 -0700 Subject: creating new post and replying to post working --- post/util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'post/util.go') 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) } -- cgit v1.2.3