Don't check param for reply

This commit is contained in:
RMidhunSuresh 2022-01-11 11:49:55 +05:30
parent 28a534ee49
commit 455b747a1c

View file

@ -94,7 +94,7 @@ export class SimpleTile extends ViewModel {
// update received for already included (falls within sort keys) entry // update received for already included (falls within sort keys) entry
updateEntry(entry, param) { updateEntry(entry, param) {
const replyEntry = param?.reply ?? entry.contextEntry; const replyEntry = entry.contextEntry;
if (replyEntry) { if (replyEntry) {
// this is an update to contextEntry used for replyPreview // this is an update to contextEntry used for replyPreview
const action = this._replyTile?.updateEntry(replyEntry); const action = this._replyTile?.updateEntry(replyEntry);