Tim Abbott  
		
	
	2c06615909 
	
	
	streams: Fix stream color synchronization.  
		
			... 
			Previously, when a new stream was created on a client other than the
current one, the browser would first receive the "stream_created"
event, and make up a client-side display color at that time to use in
the "stream settings" view (it doesn't yet know the color that was
selected when the user was actually subscribed, because it doesn't
even know yet that the user is being subscribed to this stream), and
then moments after it'll receive a "susbcribe" event letting the
client know that the user is subscribed (and specifying the color to
use).
However, due to an argument not being passed through properly and a
missing rerender, we were not properly updating either the data
structures or doing a stream colors rerender in order to show the new
color.
This fixes the issue reported in
https://chat.zulip.org/#narrow/stream/48-mobile/subject/stream.20colors/near/660170  
		
	 
 
		2018-11-09 17:04:47 -08:00 
	 
	
	
	
		  ..
	 
	
	
		
			
			
			
			
			
			2018-11-01 12:50:24 -07:00 
		 
	
		
			
			
			
			
			
			2018-10-24 16:54:35 -07:00 
		 
	
		
			
			
			
			
			
			2018-10-12 10:32:58 -07:00 
		 
	
		
			
			
			
			
			
			2018-06-11 07:51:24 -04:00 
		 
	
		
	
		
			
			
			
			
			
			2018-08-04 09:32:27 -07:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-08-08 11:29:48 -07:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-06-11 07:51:24 -04:00 
		 
	
		
			
			
			
			
			
			2018-10-02 11:32:45 -07:00 
		 
	
		
			
			
			
			
			
			2018-10-19 12:36:18 -07:00 
		 
	
		
			
			
			
			
			
			2018-08-03 15:59:10 -07:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-08-04 09:32:27 -07:00 
		 
	
		
			
			
			
			
			
			2018-10-16 16:53:47 -07:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-10-31 16:47:48 -07:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-11-07 09:56:38 -08:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-10-12 11:20:30 -07:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-08-26 23:33:24 -07:00 
		 
	
		
			
			
			
			
			
			2018-11-02 11:57:04 +05:30 
		 
	
		
			
			
			
			
			
			2018-10-13 16:42:50 -07:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-10-12 10:37:06 -07:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-06-11 07:51:24 -04:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-08-22 16:52:18 -07:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-10-15 19:55:18 +05:30 
		 
	
		
			
			
			
			
			
			2018-09-21 18:34:12 -07:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-07-07 10:19:15 +02:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-07-11 20:00:56 +05:30 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-08-31 11:51:22 -07:00 
		 
	
		
			
			
			
			
			
			2018-10-22 12:22:26 -07:00 
		 
	
		
			
			
			
			
			
			2018-08-31 11:51:22 -07:00 
		 
	
		
			
			
			
			
			
			2018-10-24 16:54:35 -07:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-08-31 11:51:22 -07:00 
		 
	
		
			
			
			
			
			
			2018-10-12 11:20:30 -07:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-08-26 22:15:50 -07:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-07-23 10:36:48 -07:00 
		 
	
		
			
			
			
			
			
			2018-07-30 13:00:23 -07:00 
		 
	
		
			
			
			
			
			
			2018-08-24 10:00:04 -07:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-08-08 10:59:23 -07:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-08-31 14:16:47 -07:00 
		 
	
		
			
			
			
			
			
			2018-08-14 11:41:53 -07:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-07-23 10:32:10 -07:00 
		 
	
		
			
			
			
			
			
			2018-10-12 13:52:30 -07:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-10-31 10:15:49 -07:00 
		 
	
		
			
			
			
			
			
			2018-10-31 15:47:01 -07:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-07-23 16:08:24 -07:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-09-27 07:29:32 -04:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-07-10 14:20:24 +05:30 
		 
	
		
			
			
			
			
			
			2018-10-24 16:54:35 -07:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-09-17 13:58:29 -04:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-08-02 16:59:27 -07:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-10-31 10:15:49 -07:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-08-04 09:32:27 -07:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-10-31 16:47:48 -07:00 
		 
	
		
			
			
			
			
			
			2018-08-04 13:55:02 +00:00 
		 
	
		
			
			
			
			
			
			2018-07-10 16:22:52 -04:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-08-04 13:55:02 +00:00 
		 
	
		
			
			
			
			
			
			2018-08-04 13:55:02 +00:00 
		 
	
		
			
			
			
			
			
			2018-08-04 17:56:02 -07:00 
		 
	
		
			
			
			
			
			
			2018-08-31 13:36:17 -07:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-08-14 11:39:29 -07:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-09-27 07:29:32 -04:00 
		 
	
		
			
			
			
			
			
			2018-07-27 09:09:52 -07:00 
		 
	
		
			
			
			
			
			
			2018-07-23 11:29:10 -07:00 
		 
	
		
			
			
			
			
			
			2018-07-23 11:29:10 -07:00 
		 
	
		
			
			
			
			
			
			2018-07-23 11:29:10 -07:00 
		 
	
		
			
			
			
			
			
			2018-07-30 11:25:32 -07:00 
		 
	
		
			
			
			
			
			
			2018-10-24 16:54:35 -07:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-11-09 17:04:47 -08:00 
		 
	
		
			
			
			
			
			
			2018-08-26 22:26:28 -07:00 
		 
	
		
			
			
			
			
			
			2018-10-19 12:36:18 -07:00 
		 
	
		
			
			
			
			
			
			2018-10-30 10:48:06 -07:00 
		 
	
		
			
			
			
			
			
			2018-09-21 18:34:12 -07:00 
		 
	
		
			
			
			
			
			
			2018-08-14 12:07:56 -07:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-08-28 14:02:31 -07:00 
		 
	
		
			
			
			
			
			
			2018-08-31 11:49:54 -07:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-08-27 17:26:07 -07:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-10-12 10:38:56 -07:00 
		 
	
		
			
			
			
			
			
			2018-10-30 10:48:06 -07:00 
		 
	
		
			
			
			
			
			
			2018-10-09 08:50:45 -07:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-08-21 13:42:23 -07:00 
		 
	
		
			
			
			
			
			
			2018-07-23 11:29:10 -07:00 
		 
	
		
			
			
			
			
			
			2018-08-08 11:54:28 -07:00 
		 
	
		
			
			
			
			
			
			2018-11-06 12:57:19 -08:00 
		 
	
		
			
			
			
			
			
			2018-09-28 14:08:37 -07:00 
		 
	
		
			
			
			
			
			
			2018-11-09 17:04:47 -08:00 
		 
	
		
			
			
			
			
			
			2018-10-24 16:54:35 -07:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-08-01 10:14:09 -07:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-08-07 13:30:53 -07:00 
		 
	
		
			
			
			
			
			
			2018-08-04 09:32:27 -07:00 
		 
	
		
			
			
			
			
			
			2018-10-31 13:18:17 -07:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-10-15 19:22:57 +05:30 
		 
	
		
			
			
			
			
			
			2018-07-10 11:18:05 +05:30 
		 
	
		
			
			
			
			
			
			2018-10-22 12:22:26 -07:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-10-24 16:54:35 -07:00 
		 
	
		
			
			
			
			
			
			2018-10-24 16:54:35 -07:00 
		 
	
		
			
			
			
			
			
			2018-05-30 23:28:21 +05:30 
		 
	
		
			
			
			
			
			
			2018-10-13 16:42:50 -07:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-08-04 07:59:42 -07:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-10-14 09:38:32 -07:00 
		 
	
		
			
			
			
			
			
			2018-10-24 16:54:35 -07:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-09-21 10:59:55 -07:00 
		 
	
		
			
			
			
			
			
			2018-07-07 10:19:15 +02:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-08-26 23:33:24 -07:00 
		 
	
		
			
			
			
			
			
			2018-10-29 12:33:35 -07:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-10-12 11:20:30 -07:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-08-04 07:59:42 -07:00 
		 
	
		
			
			
			
			
			
			2018-07-06 11:30:12 -04:00 
		 
	
		
			
			
			
			
			
			2018-07-10 11:18:05 +05:30 
		 
	
		
			
			
			
			
			
			2018-07-31 07:12:31 -04:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-07-05 10:53:36 +02:00