Add feature flag for the new calls feature
This will be experimental for some time, so we need a way to turn it on/off for future stable builds.
This commit is contained in:
@@ -36,4 +36,13 @@ FormCard.FormCard {
|
||||
NeoChatConfig.save();
|
||||
}
|
||||
}
|
||||
FormCard.FormCheckDelegate {
|
||||
text: i18nc("@option:check Enable the matrix feature for audio and video calling", "Calls")
|
||||
checked: NeoChatConfig.calls
|
||||
|
||||
onToggled: {
|
||||
NeoChatConfig.calls = checked;
|
||||
NeoChatConfig.save();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user