remove return type promise
This commit is contained in:
parent
2ad1a3b0cd
commit
ebbb07bf1a
|
@ -7,7 +7,7 @@ from deltachat.capi import lib as dclib
|
|||
from deltachat.cutil import as_dc_charpointer
|
||||
|
||||
|
||||
def get_control_group(ac: deltachat.account.Account) -> deltachat.chat.Chat | None:
|
||||
def get_control_group(ac: deltachat.account.Account):
|
||||
for chat in ac.get_chats():
|
||||
if chat.num_contacts() == 1 and chat.is_protected() and chat.is_group():
|
||||
if chat.get_name() == "verification bot control group":
|
||||
|
|
Loading…
Reference in a new issue