| author | Stephen Paul Weber
<singpolyma@singpolyma.net> 2025-03-26 18:23:16 UTC |
| committer | Stephen Paul Weber
<singpolyma@singpolyma.net> 2025-03-26 18:23:16 UTC |
| parent | 408e5c351af66d9eedc5b86f7261d838eaa48818 |
| snikket/Chat.hx | +1 | -1 |
diff --git a/snikket/Chat.hx b/snikket/Chat.hx index 02f980c..9dd5b7d 100644 --- a/snikket/Chat.hx +++ b/snikket/Chat.hx @@ -465,7 +465,7 @@ abstract class Chat { The display name of this Chat **/ public function getDisplayName() { - return this.displayName; + return this.displayName == chatId && chatId == client.accountId() ? client.displayName() : this.displayName; } @:allow(snikket)