- Set the from field in the message sent (such that server validation passes)
- Updates `sendMessage_imp(...)`
This commit is contained in:
Tristan B. Velloza Kildaire 2023-11-22 10:44:48 +02:00
parent 5f5fb841ae
commit 3b0b1d8466
1 changed files with 1 additions and 0 deletions

View File

@ -183,6 +183,7 @@ public class DanteClient
ChannelMessage chanMessageReq = new ChannelMessage();
chanMessageReq.setTo(recipients);
chanMessageReq.setMessage(message);
chanMessageReq.setFrom("FROM_PLACEHOLDER"); // This will be replaced by server but it MUST be filled else validation fails
BaseMessage msg = new BaseMessage(MessageType.CLIENT_TO_SERVER, CommandType.CHANNEL_SEND_MESSAGE, chanMessageReq);