| author | Stephen Paul Weber
<singpolyma@singpolyma.net> 2025-03-23 02:56:54 UTC |
| committer | Stephen Paul Weber
<singpolyma@singpolyma.net> 2025-03-23 02:56:54 UTC |
| parent | 0a91f133068b56fa3bd8b7b1ccab8150cde76e99 |
| snikket/Chat.hx | +1 | -0 |
diff --git a/snikket/Chat.hx b/snikket/Chat.hx index 6098826..fb58b58 100644 --- a/snikket/Chat.hx +++ b/snikket/Chat.hx @@ -737,6 +737,7 @@ class DirectChat extends Chat { message.sender = message.from.asBare(); message.replyTo = [message.sender]; message.recipients = getParticipants().map((p) -> JID.parse(p)); + message.to = message.recipients[0]; return message; }