summaryrefslogtreecommitdiff
path: root/src/preview/Comment.h
diff options
context:
space:
mode:
authorjacob1 <jfu614@gmail.com>2013-03-15 03:58:09 (GMT)
committer jacob1 <jfu614@gmail.com>2013-03-15 03:58:09 (GMT)
commit2aa483e0a2c142f46033f2f2a5285ff436afa957 (patch)
tree6f5c1ddf16f2b205eb85f30064b4fa8f4b685f07 /src/preview/Comment.h
parent6b68c04cd613847e4f2bbe1f0cd8a2a13a9d4660 (diff)
downloadpowder-2aa483e0a2c142f46033f2f2a5285ff436afa957.zip
powder-2aa483e0a2c142f46033f2f2a5285ff436afa957.tar.gz
fix gravatars not showing for moderators
Diffstat (limited to 'src/preview/Comment.h')
-rw-r--r--src/preview/Comment.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/preview/Comment.h b/src/preview/Comment.h
index 4bf7acb..1d84042 100644
--- a/src/preview/Comment.h
+++ b/src/preview/Comment.h
@@ -8,17 +8,18 @@ class SaveComment
public:
int authorID;
std::string authorName;
+ std::string authorNameFormatted;
std::string comment;
- SaveComment(int userID, std::string username, std::string commentText):
- authorID(userID), authorName(username), comment(commentText)
+ SaveComment(int userID, std::string username, std::string usernameFormatted, std::string commentText):
+ authorID(userID), authorName(username), authorNameFormatted(usernameFormatted), comment(commentText)
{
}
SaveComment(const SaveComment & comment):
- authorID(comment.authorID), authorName(comment.authorName), comment(comment.comment)
+ authorID(comment.authorID), authorName(comment.authorName), authorNameFormatted(comment.authorNameFormatted), comment(comment.comment)
{
}
SaveComment(const SaveComment * comment):
- authorID(comment->authorID), authorName(comment->authorName), comment(comment->comment)
+ authorID(comment->authorID), authorName(comment->authorName), authorNameFormatted(comment->authorNameFormatted), comment(comment->comment)
{
}
};