1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-22 07:42:52 +00:00

Debug info: added account/notify

This commit is contained in:
M66B 2024-11-02 21:26:01 +01:00
parent 7fc8962c5c
commit f2461acda2

View file

@ -1468,6 +1468,13 @@ public class DebugHelper {
size += write(os, options.toString());
}
List<EntityAccount> accounts = db.account().getAccounts();
for (EntityAccount account : accounts) {
size += write(os, String.format("%d %s notify=%b\r\n",
account.id, account.name, account.notify));
}
size += write(os, "\r\n");
for (NotificationChannel channel : nm.getNotificationChannels())
try {
JSONObject jchannel = NotificationHelper.channelToJSON(channel);