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:
@@ -205,6 +205,10 @@
|
|||||||
<label>Enable add phone numbers as 3PIDs</label>
|
<label>Enable add phone numbers as 3PIDs</label>
|
||||||
<default>false</default>
|
<default>false</default>
|
||||||
</entry>
|
</entry>
|
||||||
|
<entry name="Calls" type="bool">
|
||||||
|
<label>Enable audio and video calling</label>
|
||||||
|
<default>false</default>
|
||||||
|
</entry>
|
||||||
</group>
|
</group>
|
||||||
<group name="Security">
|
<group name="Security">
|
||||||
<entry name="RejectUnknownInvites" type="bool">
|
<entry name="RejectUnknownInvites" type="bool">
|
||||||
|
|||||||
@@ -36,4 +36,13 @@ FormCard.FormCard {
|
|||||||
NeoChatConfig.save();
|
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