Apply colorMentions to actions
The first-two-words branch works well for "/me verbs nick".weechat-hashes
parent
fa4e81d480
commit
f84ab67311
6
handle.c
6
handle.c
|
@ -672,10 +672,12 @@ static void handlePrivmsg(struct Message *msg) {
|
||||||
hash(msg->user), msg->nick, LightGray, msg->params[1]
|
hash(msg->user), msg->nick, LightGray, msg->params[1]
|
||||||
);
|
);
|
||||||
} else if (action) {
|
} else if (action) {
|
||||||
|
const char *mentions = colorMentions(id, msg);
|
||||||
uiFormat(
|
uiFormat(
|
||||||
id, (mention || query ? Hot : Warm), tagTime(msg),
|
id, (mention || query ? Hot : Warm), tagTime(msg),
|
||||||
"%s\35\3%d* %s\17\35\t%s",
|
"%s\35\3%d* %s\17\35\t%s%s",
|
||||||
(mention ? "\26" : ""), hash(msg->user), msg->nick, msg->params[1]
|
(mention ? "\26" : ""), hash(msg->user), msg->nick,
|
||||||
|
mentions, msg->params[1]
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
const char *mentions = colorMentions(id, msg);
|
const char *mentions = colorMentions(id, msg);
|
||||||
|
|
Loading…
Reference in New Issue