Skip to content

Commit

Permalink
Whenever user opens conversation, update its last message
Browse files Browse the repository at this point in the history
  • Loading branch information
scottnonnenberg-signal committed Jul 12, 2018
1 parent 9003419 commit 212ec8b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/views/conversation_view.js
Original file line number Diff line number Diff line change
Expand Up @@ -504,6 +504,8 @@
this.openStart = Date.now();
this.lastActivity = Date.now();

this.model.updateLastMessage();

const statusPromise = this.throttledGetProfiles();
// eslint-disable-next-line more/no-then
this.statusFetch = statusPromise.then(() =>
Expand Down

0 comments on commit 212ec8b

Please sign in to comment.