From 7c8f6d89be237b806318e1987777492ce5fc6414 Mon Sep 17 00:00:00 2001 From: Rikdekker Date: Wed, 12 Aug 2026 17:03:06 +0200 Subject: [PATCH] feat(dav): add a room building name to IRoomMetadata Assisted-by: ClaudeCode:claude-opus-5 Signed-off-by: Rikdekker --- lib/public/Calendar/Room/IRoomMetadata.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/lib/public/Calendar/Room/IRoomMetadata.php b/lib/public/Calendar/Room/IRoomMetadata.php index 15d4b501e1256..ebd69ae8f6652 100644 --- a/lib/public/Calendar/Room/IRoomMetadata.php +++ b/lib/public/Calendar/Room/IRoomMetadata.php @@ -36,6 +36,17 @@ interface IRoomMetadata { */ public const CAPACITY = '{http://nextcloud.com/ns}room-seating-capacity'; + /** + * The name of the building this room is located in + * + * Clients group rooms by building. Without this key they have to guess a + * building from BUILDING_ADDRESS, which only works for backends that + * happen to put the building name first. + * + * @since 35.0.0 + */ + public const BUILDING_NAME = '{http://nextcloud.com/ns}room-building-name'; + /** * The physical address of the building this room is located in *