Merge branch 'main' into adb/integrated-videocalls

This commit is contained in:
adb
2025-09-02 14:15:25 +02:00
committed by GitHub
11 changed files with 89 additions and 117 deletions
@@ -42,4 +42,14 @@ public class DcAccounts {
private native long getJsonrpcInstanceCPtr ();
private native long getAccountCPtr (int accountId);
private native long getSelectedAccountCPtr ();
public boolean isAllChatmail() {
for (int accountId : getAll()) {
DcContext dcContext = getAccount(accountId);
if (!dcContext.isChatmail()) {
return false;
}
}
return true;
}
}