parent
a4e7082ab8
commit
4b43726e1d
|
@ -96,7 +96,13 @@ public class InstanceFeatures: ObservableObject {
|
|||
}
|
||||
|
||||
public var canFollowHashtags: Bool {
|
||||
hasMastodonVersion(4, 0, 0)
|
||||
if case .mastodon(_, let version) = instanceType {
|
||||
return version >= Version(4, 0, 0)
|
||||
} else if case .pleroma(.akkoma(let version)) = instanceType {
|
||||
return version >= Version(3, 4, 0)
|
||||
} else {
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
||||
public var filtersV2: Bool {
|
||||
|
|
Loading…
Reference in New Issue