Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] Disable by default delivery receipt in compose form #1015

Conversation

amaninyumu1
Copy link
Member

@amaninyumu1 amaninyumu1 commented May 9, 2024

@amaninyumu1 amaninyumu1 force-pushed the Cypht-read-receipts-make-the-feature-optional-default-off branch 5 times, most recently from 32b4457 to 61159be Compare May 13, 2024 08:22
@josaphatim josaphatim changed the title module.php[FIX]change default checkbox values ​​from 1 to 0 [FIX] Disable by default delivery receipt in compose form May 14, 2024
@@ -1133,7 +1133,7 @@ protected function output() {
'<textarea id="compose_body" name="compose_body" class="compose_body form-control" placeholder="'.$this->trans('Message').'">'.$this->html_safe($body).'</textarea>'.
(!$html ? '<label for="compose_body">'.$this->trans('Message').'</label>': '').
'</div>'.
'<div class="form-check mb-3"><input value="1" name="compose_delivery_receipt" id="compose_delivery_receipt" type="checkbox" class="form-check-input" /><label for="compose_delivery_receipt" class="form-check-label">'.$this->trans('Request a delivery receipt').'</label></div>';
'<div class="form-check mb-3"><input value="0" name="compose_delivery_receipt" id="compose_delivery_receipt" type="checkbox" class="form-check-input" /><label for="compose_delivery_receipt" class="form-check-label">'.$this->trans('Request a delivery receipt').'</label></div>';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@amaninyumu1 This is the only one change needed here. Can you remove others before we merge ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think because I modified the default values ​​of the checkbox from 1 to 0

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I made some changes please review

@amaninyumu1 amaninyumu1 force-pushed the Cypht-read-receipts-make-the-feature-optional-default-off branch from 61159be to c6bb6b1 Compare May 14, 2024 19:07
@josaphatim josaphatim merged commit 84317f0 into cypht-org:master May 14, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants