aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/eu/siacs/conversations/services
diff options
context:
space:
mode:
authoriNPUTmice <daniel@gultsch.de>2014-12-17 06:59:58 +0100
committeriNPUTmice <daniel@gultsch.de>2014-12-17 06:59:58 +0100
commit3f6638cb649b650fbf0217d8a060bf149a9b886f (patch)
treeae806c18bdbfd7683a0f033d25493b5d04f08978 /src/main/java/eu/siacs/conversations/services
parente2f50ab8558a32ff54b6c6c80da319b4a396e173 (diff)
properly count mam messages
Diffstat (limited to 'src/main/java/eu/siacs/conversations/services')
-rw-r--r--src/main/java/eu/siacs/conversations/services/MessageArchiveService.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/main/java/eu/siacs/conversations/services/MessageArchiveService.java b/src/main/java/eu/siacs/conversations/services/MessageArchiveService.java
index 66a2d48a8..276890271 100644
--- a/src/main/java/eu/siacs/conversations/services/MessageArchiveService.java
+++ b/src/main/java/eu/siacs/conversations/services/MessageArchiveService.java
@@ -311,11 +311,14 @@ public class MessageArchiveService implements OnAdvancedStreamFeaturesLoaded {
return this.account;
}
- public void incrementCount() {
- this.count++;
+ public void incrementTotalCount() {
this.totalCount++;
}
+ public void incrementMessageCount() {
+ this.count++;
+ }
+
public int getTotalCount() {
return this.totalCount;
}