mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 19:29:06 +01:00
Seen flag was being set incorrectly for private messages.
This commit is contained in:
@@ -472,7 +472,7 @@ DatabaseCleaner.Callback {
|
||||
if(m.getGroup() != null) throw new IllegalArgumentException();
|
||||
if(m.getAuthor() != null) throw new IllegalArgumentException();
|
||||
if(!db.addPrivateMessage(txn, m, c)) return false;
|
||||
db.addStatus(txn, c, m.getId(), incoming);
|
||||
db.addStatus(txn, c, m.getId(), !incoming);
|
||||
// Count the bytes stored
|
||||
synchronized(spaceLock) {
|
||||
bytesStoredSinceLastCheck += m.getSerialised().length;
|
||||
|
||||
Reference in New Issue
Block a user