A couple small fixes: quotes, ConversationListItem, MessageDetail
- Load quoted message even with local thumbnail - A bit more space for message in ConversationListItem - Make the message detail screen scrollable
This commit is contained in:
parent
6e4b73ec0c
commit
fdc7c85876
3 changed files with 10 additions and 5 deletions
|
@ -1471,10 +1471,7 @@
|
|||
}
|
||||
|
||||
// 1. Load provided thumbnail
|
||||
if (this.loadQuoteThumbnail(message, quote)) {
|
||||
this.forceRender(message);
|
||||
return;
|
||||
}
|
||||
const gotThumbnail = this.loadQuoteThumbnail(message, quote);
|
||||
|
||||
// 2. Check to see if we've already loaded the target message into memory
|
||||
const { author, id } = quote;
|
||||
|
@ -1487,6 +1484,13 @@
|
|||
return;
|
||||
}
|
||||
|
||||
// Even if we got the thumbnail locall, we wanted to populate the referenced
|
||||
// message so a click can navigate to it.
|
||||
if (gotThumbnail) {
|
||||
this.forceRender(message);
|
||||
return;
|
||||
}
|
||||
|
||||
// We only go further if we need more data for this message. It's always important
|
||||
// to grab the quoted message to allow for navigating to it by clicking.
|
||||
const { attachments } = quote;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue