From c62cc53c2f0031483e3ecc049e64e465e602b37b Mon Sep 17 00:00:00 2001 From: Renard Date: Mon, 16 Sep 2019 22:08:16 -0300 Subject: Fancy pants capcodes --- src/Post.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Post.js b/src/Post.js index e6f7d62..f3a5e02 100644 --- a/src/Post.js +++ b/src/Post.js @@ -68,6 +68,10 @@ const Post = ({ index, post, locked, threadId, currentBoard }) => { post.message = post.message.replace(".html#", "/"); } + if (post.tripcode === " (★ ****-****)") { + post.tripcode = ""; + } + return ( { name="star" color={user_id === "CAP_USER*" ? "yellow" : "grey"} /> - {user_id} + {user_id === "CAP_USER*" ? "Usuario verificado" : user_id} -- cgit v1.2.1-18-gbd029