use of com.fsck.k9.controller.MessagingControllerCommands.PendingCommand in project k-9 by k9mail.
the class MessagingController method markAllMessagesRead.
public void markAllMessagesRead(final Account account, final String folder) {
Timber.i("Marking all messages in %s:%s as read", account.getDescription(), folder);
PendingCommand command = PendingMarkAllAsRead.create(folder);
queuePendingCommand(account, command);
processPendingCommands(account);
}
use of com.fsck.k9.controller.MessagingControllerCommands.PendingCommand in project k-9 by k9mail.
the class MessagingController method queueMoveOrCopy.
private void queueMoveOrCopy(Account account, String srcFolder, String destFolder, boolean isCopy, List<String> uids) {
if (account.getErrorFolderName().equals(srcFolder)) {
return;
}
PendingCommand command = PendingMoveOrCopy.create(srcFolder, destFolder, isCopy, uids);
queuePendingCommand(account, command);
}
Aggregations