修复:聊天获取AtUserId为空的空指针错误
This commit is contained in:
parent
8f37f3cc6d
commit
d1e40abe2e
@ -388,7 +388,7 @@ public class LiveChatAdapter extends RecyclerView.Adapter {
|
|||||||
Bus.get().post(new LiveAudienceEvent()
|
Bus.get().post(new LiveAudienceEvent()
|
||||||
.setType(LiveAudienceEvent.LiveAudienceType.NEW_MESSAGE_REMINDER));
|
.setType(LiveAudienceEvent.LiveAudienceType.NEW_MESSAGE_REMINDER));
|
||||||
}
|
}
|
||||||
if (bean.getAtUserID().contains(String.valueOf(model.getId()))) {
|
if (bean.getAtUserID()!=null&&bean.getAtUserID().contains(String.valueOf(model.getId()))) {
|
||||||
Bus.get().post(new LiveAudienceEvent()
|
Bus.get().post(new LiveAudienceEvent()
|
||||||
.setType(LiveAudienceEvent.LiveAudienceType.AT_MESSAGE));
|
.setType(LiveAudienceEvent.LiveAudienceType.AT_MESSAGE));
|
||||||
mPosition = size + 1;
|
mPosition = size + 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user