Fix crash
This commit is contained in:
parent
226bdbae18
commit
4467b03afe
1 changed files with 1 additions and 1 deletions
|
@ -381,7 +381,7 @@ public class ChatActivity extends FragmentActivity implements OnClickListener, S
|
|||
}
|
||||
|
||||
public void dispayMessageList() {
|
||||
adapter = new ChatMessageAdapter(this.getApplicationContext(), chatRoom.getHistory());
|
||||
adapter = new ChatMessageAdapter(this, chatRoom.getHistory());
|
||||
messagesList.setAdapter(adapter);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue