Update.
This commit is contained in:
parent
0a9b66d2f7
commit
8e195a49e3
@ -27,6 +27,7 @@ class ThreadsView(BaseView):
|
||||
thread['name_color'] = user_last_message['color']
|
||||
thread['last_message_user_color'] = user_last_message['color']
|
||||
threads.append(thread)
|
||||
|
||||
|
||||
threads.sort(key=lambda x: x['last_message_on'], reverse=True)
|
||||
|
||||
return await self.render_template("threads.html", dict(threads=threads,user=user))
|
||||
|
Loading…
Reference in New Issue
Block a user