Fix own display name not showing in chat (#309)

This commit is contained in:
Tommy Chow 2023-11-30 17:23:09 -05:00 • committed by GitHub
parent 39e2e6026f
commit 1a55bd2e63
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -323,7 +323,7 @@ class IRCMessage {
final displayName = tags['display-name']!;
span.add(
TextSpan(
text: user != null ? getReadableName(displayName, user!) : user,
text: user != null ? getReadableName(displayName, user!) : displayName,
style: TextStyle(
color: color,
fontWeight: FontWeight.bold,