| author | Stephen Paul Weber
<singpolyma@singpolyma.net> 2025-09-10 19:58:23 UTC |
| committer | Stephen Paul Weber
<singpolyma@singpolyma.net> 2025-09-10 19:58:23 UTC |
| parent | 507117ea10c4cc879b53e4add818616dac8437e1 |
| snikket/Chat.hx | +2 | -2 |
diff --git a/snikket/Chat.hx b/snikket/Chat.hx index d6d4f8a..1e43d1d 100644 --- a/snikket/Chat.hx +++ b/snikket/Chat.hx @@ -475,8 +475,8 @@ abstract class Chat { final participants = getParticipants(); if (participants.length > 2 && participants.length < 20) { return participants.map(id -> { - final p = getParticipantDetails(id); - p.isSelf ? null : p.displayName; + final p = id == chatId ? null : getParticipantDetails(id); + p == null || p.isSelf ? null : p.displayName; }).filter(fn -> fn != null).join(", "); } }