chat type
parent
54b3b65c51
commit
90debb83e6
|
@ -149,6 +149,7 @@ public class ChatLogic {
|
|||
chatInfo = CBean2Proto.getChatInfoBuilder(user,message,nowTime,0);
|
||||
ChatProto.SendChatInfoIndication sendChatInfoIndication = ChatProto.SendChatInfoIndication.newBuilder()
|
||||
.setChatInfo(chatInfo)
|
||||
.setType(2)
|
||||
.build();
|
||||
GuildLogic.sendIndicationToMember(GuilidManager.guildInfoMap.get(guildId),MessageTypeProto.MessageType.SEND_CHAT_INFO_INDICATION,sendChatInfoIndication);
|
||||
break;
|
||||
|
@ -164,6 +165,7 @@ public class ChatLogic {
|
|||
chatInfo = CBean2Proto.getChatInfoBuilder(user,message,nowTime,0);
|
||||
sendChatInfoIndication = ChatProto.SendChatInfoIndication.newBuilder()
|
||||
.setChatInfo(chatInfo)
|
||||
.setType(1)
|
||||
.build();
|
||||
assert sessionByUid != null;
|
||||
MessageUtil.sendIndicationMessage(sessionByUid, 1, MessageTypeProto.MessageType.SEND_CHAT_INFO_INDICATION_VALUE, sendChatInfoIndication, true);
|
||||
|
|
Loading…
Reference in New Issue