zulip/zephyr
Kevin Mehall 49e3ba7cb3 Make sure a message is in the list before trying to select it.
Fixes the JS traceback "Selected message id not in MessageList"
introduced by b67e52d

Testing:
  * Narrow to a subject and send a PM
  * Narrow to a PM recipient and send a stream message
  * Narrow to a subject and send a stream message to a different subject

(imported from commit 1171c3f97813dc7db891042906762be8afb2a1b5)
2013-07-05 11:26:18 -04:00
..
fixtures Support JIRA workflow post-function web hooks 2013-05-24 21:23:56 -04:00
lib Fix regression with JS tests only working the first time. 2013-07-03 10:43:24 -04:00
management If your event_log is empty, finish (don't fail) with more helpful message 2013-07-03 11:15:09 -04:00
migrations [schema] Use custom stopwords file for full text search 2013-06-27 14:18:53 -04:00
static Make sure a message is in the list before trying to select it. 2013-07-05 11:26:18 -04:00
tests Don't mark messages as read by visibility. 2013-07-03 17:10:15 -04:00
__init__.py Initial Django commit: basic account, zephyr stream, narrowing, etc. 2012-08-28 12:44:51 -04:00
context_processors.py [manual] Use ujson instead of simplejson. 2013-06-24 10:17:10 -04:00
decorator.py Add profiled decorator and a tool to show profiler results. 2013-07-02 16:47:34 -04:00
exceptions.py Add a rate limiting system to our backend 2013-06-04 09:43:09 -04:00
filters.py Enable absolute imports. 2013-04-23 09:51:17 -07:00
finders.py Collect static files directly in the location that will be served 2013-06-12 17:46:38 -04:00
forms.py Remove unused imports 2013-06-27 16:22:39 -04:00
handlers.py Remove unused imports 2013-06-27 16:22:39 -04:00
middleware.py Fix buggy logging of database query time. 2013-06-28 15:57:28 -04:00
models.py models: remove outdated tutorial comment. 2013-07-02 18:26:18 -04:00
openid.py Enable absolute imports. 2013-04-23 09:51:17 -07:00
retention_policy.py Enable absolute imports. 2013-04-23 09:51:17 -07:00
static_header.txt Prepend the minified static file header using a custom Storage class 2013-06-12 17:46:38 -04:00
storage.py Create minified_assets.json in the deployment root 2013-06-24 15:55:04 -04:00
tests.py Use get_user_profile_by_email() in tests. 2013-07-02 16:50:11 -04:00
tornado_callbacks.py Actually test callbacks in GetUpdatesTest. 2013-07-02 10:50:02 -04:00
tornadoviews.py Remove unused imports 2013-06-27 16:22:39 -04:00
views.py Fix regexp for mit.edu narrowing. 2013-07-03 18:34:01 -04:00