diff options
author | iNPUTmice <daniel@gultsch.de> | 2014-12-17 06:59:58 +0100 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2014-12-17 06:59:58 +0100 |
commit | 3f6638cb649b650fbf0217d8a060bf149a9b886f (patch) | |
tree | ae806c18bdbfd7683a0f033d25493b5d04f08978 /src/main/java/eu/siacs/conversations/services | |
parent | e2f50ab8558a32ff54b6c6c80da319b4a396e173 (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.java | 7 |
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; } |