Signal-Android/src/org/thoughtcrime/securesms/database
Moxie Marlinspike 7b3bd2fbf7 Replace rather than insert into push db on duplicate incoming.
Combined with the switch to server acked messages, this will
prevent the race condition that occurred when an incoming message
showed up at exactly the moment the app updated.

It'd be great if we could just do REPLACE INTO, but it's too
late to add a UNIQUE() constraint. =(

Fixes #2287
Closes #3029

// FREEBIE
2015-04-23 12:08:19 -07:00
..
documents Better UX handling on identity key mismatches. 2015-02-27 12:26:09 -08:00
loaders Better UX handling on identity key mismatches. 2015-02-27 12:26:09 -08:00
model Remove encrypted SMS transport, simplify transport options. 2015-03-12 17:53:38 -07:00
ApnDatabase.java Prevent crash from strange SQLite error 2015-04-01 10:23:05 -07:00
CanonicalAddressDatabase.java Split out Util functions. 2014-11-12 15:42:43 -08:00
CanonicalSessionMigrator.java use latest android number as recipient number 2014-07-14 16:22:15 -07:00
ContentValuesBuilder.java MMS and Group Messaging Improvements 2013-05-06 08:40:55 -07:00
CursorRecyclerViewAdapter.java "All images" view for conversations 2015-02-18 15:47:47 -08:00
Database.java Better UX handling on identity key mismatches. 2015-02-27 12:26:09 -08:00
DatabaseFactory.java Better UX handling on identity key mismatches. 2015-02-27 12:26:09 -08:00
DraftDatabase.java Save drafts for recipients without an existing thread 2015-02-13 14:16:19 -08:00
EncryptedBackupExporter.java Enhanced import/export support. 2013-06-24 21:02:30 -07:00
EncryptingSmsDatabase.java More l10n - for decrypting errors 2014-12-23 12:53:38 -08:00
GroupDatabase.java Update to latest version of libtextsecure for simplified interface. 2015-03-03 12:25:09 -08:00
IdentityDatabase.java Pass recipient ids, not recipient objects 2014-12-22 14:53:28 -08:00
MessagingDatabase.java Better UX handling on identity key mismatches. 2015-02-27 12:26:09 -08:00
MmsAddressDatabase.java Update to latest version of libtextsecure for simplified interface. 2015-03-03 12:25:09 -08:00
MmsDatabase.java Eliminate ghost thread when all messages deleted in a thread. 2015-04-16 16:43:58 -07:00
MmsSmsColumns.java Better UX handling on identity key mismatches. 2015-02-27 12:26:09 -08:00
MmsSmsDatabase.java Better UX handling on identity key mismatches. 2015-02-27 12:26:09 -08:00
NoExternalStorageException.java Initial Project Import 2011-12-20 10:20:44 -08:00
NoSuchMessageException.java Transition the outbound pipeline to JobManager jobs. 2014-11-12 15:26:25 -08:00
NotInDirectoryException.java Add account management interface to libtextsecure api 2014-11-12 15:28:08 -08:00
PartDatabase.java "All images" view for conversations 2015-02-18 15:47:47 -08:00
PduHeadersBuilder.java Removed tabs 2012-09-30 19:56:29 -07:00
PlaintextBackupExporter.java Beginning of libtextsecure refactor. 2014-11-12 15:21:32 -08:00
PlaintextBackupImporter.java Update to latest version of libtextsecure for simplified interface. 2015-03-03 12:25:09 -08:00
PushDatabase.java Replace rather than insert into push db on duplicate incoming. 2015-04-23 12:08:19 -07:00
SmsDatabase.java Eliminate ghost thread when all messages deleted in a thread. 2015-04-16 16:43:58 -07:00
SmsMigrator.java Update to latest version of libtextsecure for simplified interface. 2015-03-03 12:25:09 -08:00
TextSecureDirectory.java Remove encrypted SMS transport, simplify transport options. 2015-03-12 17:53:38 -07:00
ThreadDatabase.java Eliminate ghost thread when all messages deleted in a thread. 2015-04-16 16:43:58 -07:00
XmlBackup.java Split out Util functions. 2014-11-12 15:42:43 -08:00