Files
UNIT3D-Community-Edition/app/Bots/NerdBot.php
Roardom f6917de1cc fix: chatbox receiver_id message validation
Messages to a chatroom should not be possible to set a receiver_id. It's not used anywhere now, but in the past it must have been possible as there are few records in an older database. Unfortunately, mysql doesn't allow adding check constraint to a column that has referential actions, otherwise I would have added a check constraint for (chatroom_id IS NULL XOR receiver_id IS NULL).
2026-03-11 11:24:40 +00:00

10 KiB