forked from missytake/team-bot
set BCC_self to True, so sent messages can be looked up in Thunderbird
This commit is contained in:
parent
cc1625fa29
commit
32ca1a4ee6
|
@ -40,6 +40,7 @@ class SetupPlugin:
|
||||||
class RelayPlugin:
|
class RelayPlugin:
|
||||||
def __init__(self, account: deltachat.Account, kvstore: pickledb.PickleDB):
|
def __init__(self, account: deltachat.Account, kvstore: pickledb.PickleDB):
|
||||||
self.account = account
|
self.account = account
|
||||||
|
self.account.set_config("bcc_self", "1")
|
||||||
self.kvstore = kvstore
|
self.kvstore = kvstore
|
||||||
self.crew = account.get_chat_by_id(kvstore.get("crew_id"))
|
self.crew = account.get_chat_by_id(kvstore.get("crew_id"))
|
||||||
if not kvstore.get("relays"):
|
if not kvstore.get("relays"):
|
||||||
|
|
Loading…
Reference in a new issue