File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77
88
99def gen_qr_png_data (maildomain ):
10- url = f"DCACCOUNT:https:// { maildomain } /new "
10+ url = f"DCACCOUNT:{ maildomain } "
1111 image = gen_qr (maildomain , url )
1212 temp = io .BytesIO ()
1313 image .save (temp , format = "png" )
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ def test_fastcgi_working(maildomain, chatmail_config):
2222@pytest .mark .filterwarnings ("ignore::urllib3.exceptions.InsecureRequestWarning" )
2323def test_newemail_configure (maildomain , rpc , chatmail_config ):
2424 """Test configuring accounts by scanning a QR code works."""
25- url = f"DCACCOUNT:https:// { maildomain } /new "
25+ url = f"DCACCOUNT:{ maildomain } "
2626 for i in range (3 ):
2727 account_id = rpc .add_account ()
2828 if chatmail_config .tls_cert_mode == "self" :
Original file line number Diff line number Diff line change @@ -23,13 +23,13 @@ you can also **scan this QR code** with Delta Chat:
2323<script src =" qrcode-svg.min.js " ></script >
2424<script src =" dclogin.js " ></script >
2525{% else %}
26- <a class =" cta-button " href =" DCACCOUNT:https:// {{ config.mail_domain }}/new " >Get a {{config.mail_domain}} chat profile</a >
26+ <a class =" cta-button " href =" DCACCOUNT:{{ config.mail_domain }} " >Get a {{config.mail_domain}} chat profile</a >
2727
2828If you are viewing this page on a different device
2929without a Delta Chat app,
3030you can also ** scan this QR code** with Delta Chat:
3131
32- <a href =" DCACCOUNT:https:// {{ config.mail_domain }}/new " >
32+ <a href =" DCACCOUNT:{{ config.mail_domain }} " >
3333 <img width=300 style="float: none;" src="qr-chatmail-invite-{{config.mail_domain}}.png" /></a>
3434{% endif %}
3535
You can’t perform that action at this time.
0 commit comments