isFeatureSupported

Check if a feature is supported by the homeserver.

Return

UNKNOWN if the server does not implement room caps UNSUPPORTED if this feature is not supported SUPPORTED if this feature is supported by a stable version SUPPORTED_UNSTABLE if this feature is supported by an unstable version (unstable version should only be used for dev/experimental purpose)


fun isFeatureSupported(feature: String, byRoomVersion: String): Boolean