Added alter.
This commit is contained in:
		
							parent
							
								
									d9ac1813ba
								
							
						
					
					
						commit
						91d8f3efd1
					
				| @ -28,6 +28,6 @@ class ThreadsView(BaseView): | |||||||
|             thread['last_message_user_color'] = user_last_message['color']   |             thread['last_message_user_color'] = user_last_message['color']   | ||||||
|             threads.append(thread) |             threads.append(thread) | ||||||
|              |              | ||||||
|         threads.sort(key=lambda x: x['last_message_on'], reverse=True) |         threads.sort(key=lambda x: x['last_message_on'] or '', reverse=True) | ||||||
| 
 | 
 | ||||||
|         return await self.render_template("threads.html", dict(threads=threads,user=user)) |         return await self.render_template("threads.html", dict(threads=threads,user=user)) | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user