BNet Message broken
Closed this issue · 0 comments
Mythos commented
Unfortunately your addon breaks the messages when a Battle.net friend goes offline:
Online message shows the name of that person, but offline messages don't show the names.
The problem occurs in following code:
text = text:gsub("(|HBNplayer%S-|k)(%d-)(:%S-BN_INLINE_TOAST_ALERT%S-|h)%[(%S-)%](|?h?)(:?)", fixLogin)
Commenting it out results in following:
- Online: [Friend] (Friend) has gone online
- Offline: [Friend] has gone offline
So the online message shows the name twice, but offline shows it once.