cfc3b8e6a5
This bug was caused by a race between indexeddb requests and sending messages. Order of events to repro was roughly: 1. send async idb request for current message list 2. add new message(s) 3. idb request returns with now incomplete message list 4. message collection gets reset to list from 3, removing messages added in 2, but not removing their phantom views/dom elements. (bug) 5. send another idb request for current message list 6. idb request returns bearing all messages including those from 2. 7. messages from 2 are added and rendered a second time. The fix was simply to not remove messages in 4, which means we reuse the original message model object rather than recreating it in 7. Fixes #243 // FREEBIE |
||
---|---|---|
components | ||
fonts | ||
images | ||
js | ||
libtextsecure | ||
native | ||
protos | ||
stylesheets | ||
test | ||
.bowerrc | ||
.gitignore | ||
.jscsrc | ||
.jshintrc | ||
.travis.yml | ||
background.html | ||
bower.json | ||
CONTRIBUTING.md | ||
conversation.html | ||
Gruntfile.js | ||
index.html | ||
LGPL | ||
manifest.json | ||
options.html | ||
package.json | ||
README.md | ||
register.html |
TextSecure for the Browser
Private text and chat for the browser.
⚠️ Warning ⚠️
This is unfinished, unreleased software.
Are you a web developer interested in contributing to this project? 👍 Please proceed to CONTRIBUTING.md for setup instructions and contributor guidelines.
Not a developer? ✋👷⛔ Please refrain from installing until our first release. Follow the blog for updates.
Interoperability
TextSecure for the Browser works with Signal for iOS and TextSecure on Android.
Cryptography Notice
This distribution includes cryptographic software. The country in which you currently reside may have restrictions on the import, possession, use, and/or re-export to another country, of encryption software. BEFORE using any encryption software, please check your country's laws, regulations and policies concerning the import, possession, or use, and re-export of encryption software, to see if this is permitted. See http://www.wassenaar.org/ for more information.
The U.S. Government Department of Commerce, Bureau of Industry and Security (BIS), has classified this software as Export Commodity Control Number (ECCN) 5D002.C.1, which includes information security software using or performing cryptographic functions with asymmetric algorithms. The form and manner of this distribution makes it eligible for export under the License Exception ENC Technology Software Unrestricted (TSU) exception (see the BIS Export Administration Regulations, Section 740.13) for both object code and source code.
License
Copyright 2014 Open Whisper Systems
Licensed under the GPLv3: http://www.gnu.org/licenses/gpl-3.0.html
Developers Developers Developers Developers!
Please see CONTRIBUTING.md for setup instructions and contributor guidelines.