forked from mirror/monocles_chat
NPE
Not sure how this can happen, seems very rare, maybe a race condition? (cherry picked from commit 413b21341e34a613edf1eb59660450546852df83)
This commit is contained in:
parent
aee8254986
commit
7f594e09a0
1 changed files with 1 additions and 1 deletions
|
@ -298,7 +298,7 @@ public class MessageAdapter extends ArrayAdapter<Message> {
|
|||
fileSize = null;
|
||||
error = message.getStatus() == Message.STATUS_SEND_FAILED;
|
||||
}
|
||||
if (type == SENT) {
|
||||
if (type == SENT && viewHolder.indicatorReceived != null) {
|
||||
final @DrawableRes Integer receivedIndicator =
|
||||
getMessageStatusAsDrawable(message, mergedStatus);
|
||||
if (receivedIndicator == null) {
|
||||
|
|
Loading…
Reference in a new issue