发现萌新-打招呼-消息列表
This commit is contained in:
@@ -159,7 +159,10 @@ public class IMMessageManager {
|
||||
NewbieHelloAttachment newbieHelloAttachment = (NewbieHelloAttachment) msg.getAttachment();
|
||||
NewbieHelloInfo helloInfo = newbieHelloAttachment.getNewbieHelloInfo();
|
||||
if (attachment.getSecond() == CUSTOM_MSG_RECEIV_NEWBIE_HELLO) {
|
||||
EventBus.getDefault().post(new NewbieHelloDialogEvent(helloInfo));
|
||||
String uid = String.valueOf(AuthModel.get().getCurrentUid());
|
||||
if (!(Objects.equals(uid, String.valueOf(helloInfo.getUid())))){
|
||||
EventBus.getDefault().post(new NewbieHelloDialogEvent(helloInfo));
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
|
@@ -9,4 +9,5 @@ public class NewbieHelloInfo {
|
||||
public int gender;
|
||||
public String message;
|
||||
public long inRoomUid;
|
||||
public String uid;
|
||||
}
|
||||
|
Reference in New Issue
Block a user