mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-02 00:25:10 -04:00
Rather than accidentally reusing a public API function name with a
different signature, give the private command to pull a count from the remote imap store its own name
This commit is contained in:
parent
0afd6a9313
commit
5a43acff2a
@ -909,7 +909,7 @@ public class ImapStore extends Store
|
||||
}
|
||||
|
||||
|
||||
private int getMessageCount(String criteria) throws MessagingException
|
||||
private int getRemoteMessageCount(String criteria) throws MessagingException
|
||||
{
|
||||
checkOpen();
|
||||
try
|
||||
@ -938,13 +938,13 @@ public class ImapStore extends Store
|
||||
@Override
|
||||
public int getUnreadMessageCount() throws MessagingException
|
||||
{
|
||||
return getMessageCount("UNSEEN NOT DELETED");
|
||||
return getRemoteMessageCount("UNSEEN NOT DELETED");
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getFlaggedMessageCount() throws MessagingException
|
||||
{
|
||||
return getMessageCount("FLAGGED NOT DELETED");
|
||||
return getRemoteMessageCount("FLAGGED NOT DELETED");
|
||||
}
|
||||
|
||||
protected int getHighestUid()
|
||||
|
Loading…
Reference in New Issue
Block a user