forked from mirror/monocles_chat_clean
Fix NPE
This commit is contained in:
parent
8fca25d3a3
commit
db9d5bd8b9
1 changed files with 1 additions and 1 deletions
|
@ -508,7 +508,7 @@ public class ConversationFragment extends XmppFragment
|
|||
final String uuid = message != null ? message.getUuid() : null;
|
||||
View v = binding.messagesView.getChildAt(childPos);
|
||||
final int pxOffset = (v == null) ? 0 : v.getTop();
|
||||
ConversationFragment.this.conversation.populateWithMessages(ConversationFragment.this.messageList, activity.xmppConnectionService);
|
||||
ConversationFragment.this.conversation.populateWithMessages(ConversationFragment.this.messageList, activity == null ? null : activity.xmppConnectionService);
|
||||
try {
|
||||
updateStatusMessages();
|
||||
} catch (IllegalStateException e) {
|
||||
|
|
Loading…
Add table
Reference in a new issue