diff options
author | Renard | 2019-09-16 22:08:16 -0300 |
---|---|---|
committer | Renard | 2019-09-16 22:08:16 -0300 |
commit | c62cc53c2f0031483e3ecc049e64e465e602b37b (patch) | |
tree | 60eb2d832dd174670b33bb9fe9a817855c03cfe3 /src/Post.js | |
parent | 9fabae3dd1c2652230ba231aeb011e8199320755 (diff) | |
download | bai-client-c62cc53c2f0031483e3ecc049e64e465e602b37b.tar.gz bai-client-c62cc53c2f0031483e3ecc049e64e465e602b37b.tar.xz bai-client-c62cc53c2f0031483e3ecc049e64e465e602b37b.zip |
Fancy pants capcodes
Diffstat (limited to 'src/Post.js')
-rw-r--r-- | src/Post.js | 6 |
1 files changed, 5 insertions, 1 deletions
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 ( <Comment> <Comment.Avatar @@ -95,7 +99,7 @@ const Post = ({ index, post, locked, threadId, currentBoard }) => { name="star" color={user_id === "CAP_USER*" ? "yellow" : "grey"} /> - {user_id} + {user_id === "CAP_USER*" ? "Usuario verificado" : user_id} </div> </Comment.Metadata> <Comment.Text> |