Skip to content

Commit 6e63c6a

Browse files
authored
NKUserStatus refactors (#204)
Signed-off-by: Milen Pivchev <milen.pivchev@gmail.com>
1 parent 3f70a63 commit 6e63c6a

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/xcode.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
- name: Setup Xcode
6565
uses: maxim-lobanov/setup-xcode@60606e260d2fc5762a71e64e74b2174e8ea3c8bd # v1.6.0
6666
with:
67-
xcode-version: latest-stable
67+
xcode-version: '26.0.1'
6868

6969
- name: Build & Test NextcloudKit
7070
run: |

Sources/NextcloudKit/Models/NKUserStatus.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
import Foundation
77

8-
public class NKUserStatus: NSObject {
8+
public class NKUserStatus: NSObject, Identifiable {
99
public var clearAt: Date?
1010
public var clearAtTime: String?
1111
public var clearAtType: String?

Sources/NextcloudKit/NextcloudKit+UserStatus.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ public extension NextcloudKit {
443443
}
444444
}
445445

446-
/// Retrieves the list of predefined user statuses (e.g., "Available", "Away", "Do not disturb") from the Nextcloud server.
446+
/// Retrieves the list of predefined user statuses + messages (e.g., "Commuting", "In a meeting", "Be right back") from the Nextcloud server.
447447
///
448448
/// - Parameters:
449449
/// - account: The Nextcloud account identifier performing the request.

0 commit comments

Comments
 (0)