You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This change removes the timestamp field from messages and conversations in favor of multiple semantically named timestamp fields: sent_at, received_at on messages; active_at on conversations. This requires/lets us rethink and improve our indexing scheme thusly: The inbox index on conversations will order entries by the conversation.active_at property, which should only appear on conversations destined for the inbox. The receipt index will use the message.sent_at property, for effecient lookup of outgoing messages by timestamp, for use in processing delivery receipts. The group index on conversation.members is multi-entry, meaning that looking up any phone number in this index will efficiently yield all groups the number belongs to. The conversation index lets us scan messages in a single conversation, in the order they were received (or the reverse order). It is a compound index on [conversationId, received_at]. |
11 years ago | |
---|---|---|
.. | ||
models | 11 years ago | |
storage | 11 years ago | |
views | 11 years ago | |
api.js | 11 years ago | |
background.js | 11 years ago | |
chromium.js | 11 years ago | |
components.js | 11 years ago | |
crypto.js | 11 years ago | |
curve25519_compiled.js | 11 years ago | |
database.js | 11 years ago | |
errors.js | 11 years ago | |
helpers.js | 11 years ago | |
index.js | 11 years ago | |
libphonenumber-util.js | 11 years ago | |
nativeclient.js | 11 years ago | |
options.js | 11 years ago | |
protobufs.js | 11 years ago | |
protocol.js | 11 years ago | |
sendmessage.js | 11 years ago | |
storage.js | 11 years ago | |
stringview.js | 11 years ago | |
webcrypto.js | 11 years ago | |
websocket-resources.js | 11 years ago | |
websocket.js | 11 years ago |