mirror of https://github.com/renaissanceorg/dante
Client
- Set the from field in the message sent (such that server validation passes) - Updates `sendMessage_imp(...)`
This commit is contained in:
parent
5f5fb841ae
commit
3b0b1d8466
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue