Skip to content

Commit

Permalink
make Mrprocom's name blue
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob1 committed Jun 4, 2017
1 parent 48a95ac commit 35ce957
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/client/Client.cpp
Expand Up @@ -1753,7 +1753,7 @@ RequestBroker::Request * Client::GetCommentsAsync(int saveID, int start, int cou
int userID = format::StringToNumber<int>(commentsArray[j]["UserID"].asString());
std::string username = commentsArray[j]["Username"].asString();
std::string formattedUsername = commentsArray[j]["FormattedUsername"].asString();
if (formattedUsername == "jacobot")
if (formattedUsername == "jacobot" || formattedUsername == "Mrprocom")
formattedUsername = "\bt" + formattedUsername;
std::string comment = commentsArray[j]["Text"].asString();
commentArray->push_back(new SaveComment(userID, username, formattedUsername, comment));
Expand Down
2 changes: 1 addition & 1 deletion src/gui/preview/PreviewModel.cpp
Expand Up @@ -256,7 +256,7 @@ bool PreviewModel::ParseComments(char *commentsResponse)
int userID = format::StringToNumber<int>(commentsArray[j]["UserID"].asString());
std::string username = commentsArray[j]["Username"].asString();
std::string formattedUsername = commentsArray[j]["FormattedUsername"].asString();
if (formattedUsername == "jacobot")
if (formattedUsername == "jacobot" || formattedUsername == "Mrprocom")
formattedUsername = "\bt" + formattedUsername;
std::string comment = commentsArray[j]["Text"].asString();
saveComments->push_back(new SaveComment(userID, username, formattedUsername, comment));
Expand Down

0 comments on commit 35ce957

Please sign in to comment.