isPinConversationEnabled static method
Whether the Pin Conversation feature is enabled
(features.ux.conversations.pinned.enabled).
Same source precedence and absence semantics as isPinMessageEnabled.
Implementation
static bool isPinConversationEnabled() {
// Never throws — see isPinMessageEnabled.
final fromMe = MeFeatureFlags.pinnedConversationsEnabled;
if (fromMe != null) return fromMe;
try {
final settings = SdkRegistry.getInstance().settings.getCachedSettings();
return settings?.pinnedConversationsEnabled ?? true;
} catch (_) {
return true;
}
}