Update toJson method in ChatMessageMapper to include notBlocked field in JSON conversion.

This commit is contained in:
akastijn 2026-07-19 00:09:11 +02:00
parent 5b28f2b707
commit 1eb0aac97e

View File

@ -31,5 +31,6 @@ public class ChatMessageMapper {
}
public static String toJson(ChatMessage chatMessage) {
return "{\"uuid\":\"" + chatMessage.getUuid() + "\",\"timestamp\":\"" + chatMessage.getTimestamp() + "\",\"server\":\"" + chatMessage.getServer() + "\",\"messageJson\":\"" + chatMessage.getMessageJson() + "\",\"notBlocked\":\"" + chatMessage.isNotBlocked() + "\"}";
}
}