aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Renard 2019-09-16 22:08:16 -0300
committerLibravatar Renard 2019-09-16 22:08:16 -0300
commitc62cc53c2f0031483e3ecc049e64e465e602b37b (patch)
tree60eb2d832dd174670b33bb9fe9a817855c03cfe3
parent9fabae3dd1c2652230ba231aeb011e8199320755 (diff)
downloadbai-client-c62cc53c2f0031483e3ecc049e64e465e602b37b.tar.gz
bai-client-c62cc53c2f0031483e3ecc049e64e465e602b37b.tar.xz
bai-client-c62cc53c2f0031483e3ecc049e64e465e602b37b.zip
Fancy pants capcodes
-rw-r--r--src/Post.js6
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>