I just got this message in Freenode:
Msg {
pfx: Some(
User {
nick: "e",
user: "e@freenode/staff/spy.edk"
}
),
cmd: PRIVMSG {
target: User("$$*"),
msg: "...",
is_notice: true,
ctcp: None
}
}
Shown as:

Here the tab name is right (a PRIVMSG sent to $$*, it looks weird but there's no other way to show this message I think) but sender should be e, not my nick.
I suspect this is introduced with db38123.
We should first start testing this stuff (#273) before making any more changes to showing PRIVMSGs, as the logic is already complex enough.