Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmdeploy/src/cmdeploy/genqr.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@


def gen_qr_png_data(maildomain):
url = f"DCACCOUNT:https://{maildomain}/new"
url = f"DCACCOUNT:{maildomain}"
image = gen_qr(maildomain, url)
temp = io.BytesIO()
image.save(temp, format="png")
Expand Down
2 changes: 1 addition & 1 deletion cmdeploy/src/cmdeploy/tests/online/test_0_qr.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def test_fastcgi_working(maildomain, chatmail_config):
@pytest.mark.filterwarnings("ignore::urllib3.exceptions.InsecureRequestWarning")
def test_newemail_configure(maildomain, rpc, chatmail_config):
"""Test configuring accounts by scanning a QR code works."""
url = f"DCACCOUNT:https://{maildomain}/new"
url = f"DCACCOUNT:{maildomain}"
for i in range(3):
account_id = rpc.add_account()
if chatmail_config.tls_cert_mode == "self":
Expand Down
4 changes: 2 additions & 2 deletions www/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ you can also **scan this QR code** with Delta Chat:
<script src="qrcode-svg.min.js"></script>
<script src="dclogin.js"></script>
{% else %}
<a class="cta-button" href="DCACCOUNT:https://{{ config.mail_domain }}/new">Get a {{config.mail_domain}} chat profile</a>
<a class="cta-button" href="DCACCOUNT:{{ config.mail_domain }}">Get a {{config.mail_domain}} chat profile</a>

If you are viewing this page on a different device
without a Delta Chat app,
you can also **scan this QR code** with Delta Chat:

<a href="DCACCOUNT:https://{{ config.mail_domain }}/new">
<a href="DCACCOUNT:{{ config.mail_domain }}">
<img width=300 style="float: none;" src="qr-chatmail-invite-{{config.mail_domain}}.png" /></a>
{% endif %}

Expand Down