Fix conversation last activity calculation

This commit is contained in:
Scott Nonnenberg 2020-08-13 15:47:50 -07:00 committed by GitHub
parent aa43f322b3
commit 2db1569fbd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -1899,7 +1899,7 @@
const currentTimestamp = this.get('timestamp') || null;
const timestamp = activityMessage
? activityMessage.sent_at || currentTimestamp
? activityMessage.get('sent_at') || currentTimestamp
: currentTimestamp;
this.set({