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
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({