Permalink
Browse files

make Mrprocom's name blue

  • Loading branch information...
jacob1 committed Jun 4, 2017
1 parent 48a95ac commit 35ce9570d6d0f36ecaee4d8655118b72a067cbd4
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/client/Client.cpp
  2. +1 −1 src/gui/preview/PreviewModel.cpp
@@ -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));
@@ -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));

0 comments on commit 35ce957

Please sign in to comment.