Capitalize mentions of Twitch, Chatterino, and IRC in comments and text/settings (#3274)
This commit is contained in:
@@ -330,7 +330,7 @@ void IrcMessageHandler::handleRoomStateMessage(Communi::IrcMessage *message)
|
||||
{
|
||||
const auto &tags = message->tags();
|
||||
|
||||
// get twitch channel
|
||||
// get Twitch channel
|
||||
QString chanName;
|
||||
if (!trimChannelName(message->parameter(0), chanName))
|
||||
{
|
||||
|
||||
@@ -34,7 +34,7 @@ public:
|
||||
void handleWhisperMessage(Communi::IrcMessage *message);
|
||||
|
||||
// parseUserNoticeMessage parses a single IRC USERNOTICE message into 0+
|
||||
// chatterino messages
|
||||
// Chatterino messages
|
||||
std::vector<MessagePtr> parseUserNoticeMessage(
|
||||
Channel *channel, Communi::IrcMessage *message);
|
||||
void handleUserNoticeMessage(Communi::IrcMessage *message,
|
||||
|
||||
@@ -1488,7 +1488,7 @@ void PubSub::handleMessageResponse(const rapidjson::Value &outerData)
|
||||
|
||||
// this message also contains per-word automod data, which could be implemented
|
||||
|
||||
// extract sender data manually because twitch loves not being consistent
|
||||
// extract sender data manually because Twitch loves not being consistent
|
||||
rapidjson::Value senderData;
|
||||
if (!rj::getSafeObject(messageData, "sender", senderData))
|
||||
{
|
||||
|
||||
@@ -81,7 +81,7 @@ namespace {
|
||||
noticeMessage = "Chat has been cleared by a moderator.";
|
||||
}
|
||||
|
||||
// rebuild the raw irc message so we can convert it back to an ircmessage again!
|
||||
// rebuild the raw IRC message so we can convert it back to an ircmessage again!
|
||||
// this could probably be done in a smarter way
|
||||
|
||||
auto s = QString(":tmi.twitch.tv NOTICE %1 :%2")
|
||||
|
||||
@@ -211,7 +211,7 @@ MessagePtr TwitchMessageBuilder::build()
|
||||
this->bits = iterator.value().toString();
|
||||
}
|
||||
|
||||
// twitch emotes
|
||||
// Twitch emotes
|
||||
std::vector<TwitchEmoteOccurence> twitchEmotes;
|
||||
|
||||
iterator = this->tags.find("emotes");
|
||||
@@ -1365,7 +1365,7 @@ void TwitchMessageBuilder::hostingSystemMessage(const QString &channelName,
|
||||
builder->message().searchText = text;
|
||||
}
|
||||
|
||||
// irc variant
|
||||
// IRC variant
|
||||
void TwitchMessageBuilder::deletionMessage(const MessagePtr originalMessage,
|
||||
MessageBuilder *builder)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user