e2e warning message
This commit is contained in:
parent
7f8e1d20ec
commit
9a441ec4dc
|
@ -80,9 +80,9 @@ function xmpp_update_e2e_policy {
|
||||||
sed -i 's|e2e_policy_chat.*|e2e_policy_chat = "required"|g' "$filename"
|
sed -i 's|e2e_policy_chat.*|e2e_policy_chat = "required"|g' "$filename"
|
||||||
fi
|
fi
|
||||||
if ! grep -q "e2e_policy_message_required_chat" "$filename"; then
|
if ! grep -q "e2e_policy_message_required_chat" "$filename"; then
|
||||||
echo "e2e_policy_message_required_chat = \"\"" >> "$filename"
|
echo "e2e_policy_message_required_chat = \"$xmpp_encryption_warning\"" >> "$filename"
|
||||||
else
|
else
|
||||||
sed -i "s|e2e_policy_message_required_chat.*|e2e_policy_message_required_chat = \"\"|g" "$filename"
|
sed -i "s|e2e_policy_message_required_chat.*|e2e_policy_message_required_chat = \"$xmpp_encryption_warning\"|g" "$filename"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$ONION_ONLY" != 'no' ]]; then
|
if [[ "$ONION_ONLY" != 'no' ]]; then
|
||||||
|
|
Loading…
Reference in New Issue