Skip to content

Commit 7c8f6d8

Browse files
Rikdekkerbackportbot[bot]
authored andcommitted
feat(dav): add a room building name to IRoomMetadata
Assisted-by: ClaudeCode:claude-opus-5 Signed-off-by: Rikdekker <Rikdekker@users.noreply.github.com>
1 parent ddc13f9 commit 7c8f6d8

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

lib/public/Calendar/Room/IRoomMetadata.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,17 @@ interface IRoomMetadata {
3636
*/
3737
public const CAPACITY = '{http://nextcloud.com/ns}room-seating-capacity';
3838

39+
/**
40+
* The name of the building this room is located in
41+
*
42+
* Clients group rooms by building. Without this key they have to guess a
43+
* building from BUILDING_ADDRESS, which only works for backends that
44+
* happen to put the building name first.
45+
*
46+
* @since 35.0.0
47+
*/
48+
public const BUILDING_NAME = '{http://nextcloud.com/ns}room-building-name';
49+
3950
/**
4051
* The physical address of the building this room is located in
4152
*

0 commit comments

Comments
 (0)