mirror of
https://github.com/metabolist/metatext.git
synced 2024-06-01 07:08:07 +00:00
15 lines
315 B
Swift
15 lines
315 B
Swift
// Copyright © 2021 Metabolist. All rights reserved.
|
|
|
|
import MastodonAPI
|
|
|
|
extension AccountsEndpoint {
|
|
var configuration: CollectionItem.AccountConfiguration {
|
|
switch self {
|
|
case .followRequests:
|
|
return .followRequest
|
|
default:
|
|
return .withNote
|
|
}
|
|
}
|
|
}
|