diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2016-02-03 16:04:21 +0100 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2016-02-03 16:04:21 +0100 |
commit | 0911669b07b062b30d41da0623ff0e7288ad2ddd (patch) | |
tree | b5f8e2d837f121da18b896cf0a3b2f2614a062f2 /src/main/java/eu/siacs/conversations/services/MessageArchiveService.java | |
parent | 1274b0ef3998fdd3753ae9f930029c657e905ddf (diff) |
count all messages in a query
Diffstat (limited to '')
-rw-r--r-- | src/main/java/eu/siacs/conversations/services/MessageArchiveService.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/main/java/eu/siacs/conversations/services/MessageArchiveService.java b/src/main/java/eu/siacs/conversations/services/MessageArchiveService.java index 4403f99c..0d8e49d6 100644 --- a/src/main/java/eu/siacs/conversations/services/MessageArchiveService.java +++ b/src/main/java/eu/siacs/conversations/services/MessageArchiveService.java @@ -345,12 +345,9 @@ public class MessageArchiveService implements OnAdvancedStreamFeaturesLoaded { return this.account; } - public void incrementTotalCount() { - this.totalCount++; - } - public void incrementMessageCount() { this.messageCount++; + this.totalCount++; } public int getTotalCount() { |