Skip to content

Conversation

@trevarj
Copy link
Contributor

@trevarj trevarj commented Jan 18, 2021

A bug appeared when I made the initial fix, where a new User tab is not highlighted due to the call order of add_privmsg and set_tab_style.

Closes #302

MsgTarget::User { serv, nick }
};
ui.set_tab_style(TabStyle::Highlight, &msg_target);
ui.add_privmsg(nick, &msg, ts, &msg_target, false, is_action);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adds the new tab, then sets the style

@osa1 osa1 merged commit d37b90a into osa1:master Apr 14, 2021
@osa1
Copy link
Owner

osa1 commented Apr 14, 2021

Thanks @trevarj , and sorry for the delay!

@trevarj trevarj deleted the names-fix branch April 14, 2021 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sending NAMES on a server tab creates new tab for each nick in server

2 participants