chat type

back_recharge
wangyuan 2019-09-24 10:22:30 +08:00
parent 54b3b65c51
commit 90debb83e6
1 changed files with 2 additions and 0 deletions

View File

@ -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);