Fix onTapPingedUser not triggering due to commas

This commit is contained in:
Tommy Chow 2023-12-20 23:45:31 -05:00
parent c58eda9ff5
commit 8fcb52f926

View file

@ -625,7 +625,7 @@ class IRCMessage {
recognizer: TapGestureRecognizer()
..onTap = () {
if (onTapPingedUser != null) {
onTapPingedUser(text.substring(1));
onTapPingedUser(text.substring(1).split(',')[0]);
}
},
);