Refactor code
This commit is contained in:
@@ -148,6 +148,8 @@ func groupNotification(contentType int32, m proto.Message, sendID, groupID, recv
|
|||||||
tips.DefaultTips = toNickname + " " + cn.MemberKicked.DefaultTips.Tips
|
tips.DefaultTips = toNickname + " " + cn.MemberKicked.DefaultTips.Tips
|
||||||
case constant.MemberInvitedNotification: //
|
case constant.MemberInvitedNotification: //
|
||||||
tips.DefaultTips = toNickname + " " + cn.MemberInvited.DefaultTips.Tips
|
tips.DefaultTips = toNickname + " " + cn.MemberInvited.DefaultTips.Tips
|
||||||
|
case constant.MemberEnterNotification:
|
||||||
|
tips.DefaultTips = toNickname + " " + cn.MemberInvited.DefaultTips.Tips
|
||||||
default:
|
default:
|
||||||
log.Error(operationID, "contentType failed ", contentType)
|
log.Error(operationID, "contentType failed ", contentType)
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user