HelpChat/ChatChat

PMSendEvent#reply always returns false.

Closed this issue · 0 comments

Instead of returning the reply state of the message, the method always returns false because whenever the event is called, it is always called with the reply state set to false.

final var pmSendEvent = new PMSendEvent(
user,
recipient,
senderFormat,
recipientFormat,
Component.text(message),
false
);

The funny thing is that we have a way to detect that, we just forgot to use it,