diff --git a/LICENSE b/LICENSE index bcc0fb3..888079e 100644 --- a/LICENSE +++ b/LICENSE @@ -10,7 +10,7 @@ Additional Use Grant: You may use the Licensed Work when your application uses the Licensed Work for a purpose that does neither directly or indirectly generate revenue. -Change Date: 2027-02-02 +Change Date: 2027-02-22 Change License: Version 2 or later of the GNU General Public License as published by the Free Software Foundation. diff --git a/files/lib/system/attachment/MessageAttachmentObjectType.class.php b/files/lib/system/attachment/MessageAttachmentObjectType.class.php index 7475c8f..6afbc94 100644 --- a/files/lib/system/attachment/MessageAttachmentObjectType.class.php +++ b/files/lib/system/attachment/MessageAttachmentObjectType.class.php @@ -1,12 +1,12 @@ messageID) { + return false; + } + \assert($message->getMessageType()->objectType === 'be.bastelstu.chat.messageType.attachment'); $room = $message->getRoom();