mirror of
https://github.com/irssi/irssi.git
synced 2026-08-22 18:12:12 +02:00
reuse window_activity_target_is_hidden in sig_hilight_text
This commit is contained in:
parent
44757f33e9
commit
c89d58835e
1 changed files with 2 additions and 5 deletions
|
|
@ -92,11 +92,8 @@ static void sig_hilight_text(TEXT_DEST_REC *dest, const char *msg)
|
|||
DATA_LEVEL_MSG : DATA_LEVEL_TEXT;
|
||||
}
|
||||
|
||||
if (hide_targets != NULL && (dest->level & MSGLEVEL_HILIGHT) == 0 && dest->target != NULL) {
|
||||
/* check for both target and tag/target */
|
||||
if (strarray_find_dest(hide_targets, dest))
|
||||
return;
|
||||
}
|
||||
if (window_activity_target_is_hidden(dest))
|
||||
return;
|
||||
|
||||
if (dest->target != NULL) {
|
||||
item = window_item_find(dest->server, dest->target);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue