Fix quote thumbnail flickering issue

Turns out that we reload thumbnails for every message when any new
message is added to the conversation. This fix prevents that by actually
checking for the proper sentinel on the message model
This commit is contained in:
Scott Nonnenberg 2018-04-24 18:33:10 -07:00
parent b0b1dc6be8
commit 9619e5b66d
No known key found for this signature in database
GPG key ID: 5F82280C35134661

View file

@ -1250,7 +1250,7 @@
// If we already have a quoted message, then we exit early. If we don't have it,
// then we'll continue to look again for an in-memory message to use. Why? This
// will enable us to scroll to it when the user clicks.
if (messages.quotedMessage) {
if (message.quotedMessage) {
return;
}