From ceed8f1c6cae4b34f4408d713c41c64480d0b517 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 66867d1da622c..c08bbb21f1dce 100644 --- a/lib/public/Calendar/Room/IRoomMetadata.php +++ b/lib/public/Calendar/Room/IRoomMetadata.php @@ -37,6 +37,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 *