Production config for madmail
This commit is contained in:
parent
1451e90976
commit
270c102d27
2 changed files with 3 additions and 3 deletions
|
|
@ -357,7 +357,7 @@ def deltachat_credentials():
|
|||
username = gen_username()
|
||||
password = gen_password()
|
||||
hostname = f"{get_setting('butterbox_hostname')}.local"
|
||||
dclink = f"dclogin:{username}@{hostname}/?p={password}&v=1&ih={ip}&ip=143&sh={ip}&sp=25&is=plain&ss=plain&sc=3"
|
||||
dclink = f"dclogin:{username}@{hostname}/?p={password}&v=1&ih={ip}&ip=993&sh={ip}&sp=465&ic=3&ss=default"
|
||||
img = qrcode.make(dclink)
|
||||
file_object = io.BytesIO()
|
||||
img.save(file_object, 'PNG')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue