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:
parent
7fc8962c5c
commit
f2461acda2
1 changed files with 7 additions and 0 deletions
|
@ -1468,6 +1468,13 @@ public class DebugHelper {
|
||||||
size += write(os, options.toString());
|
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())
|
for (NotificationChannel channel : nm.getNotificationChannels())
|
||||||
try {
|
try {
|
||||||
JSONObject jchannel = NotificationHelper.channelToJSON(channel);
|
JSONObject jchannel = NotificationHelper.channelToJSON(channel);
|
||||||
|
|
Loading…
Reference in a new issue