remove return type promise

This commit is contained in:
missytake 2023-05-22 15:39:20 +02:00
parent 2ad1a3b0cd
commit ebbb07bf1a

View file

@ -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":