Commit f74b3440 authored by hujiebin's avatar hujiebin

Update user_center_func.go

parent c9e5c7bc
......@@ -400,11 +400,11 @@ func SendSvipUpgrade(nick, avatar string, svipLevel uint32, txGroupId string) er
}
// 发送socket的麦位变化
func SendSocketMicChange(userId uint64, externalId, txGroupId string, i uint32, lock, forbid, micForbid bool, agoraId uint32,
func SendSocketMicChange(seqId string, userId uint64, externalId, txGroupId string, i uint32, lock, forbid, micForbid bool, agoraId uint32,
micUserId uint64, micUserExternalId string, avatar, nick string, sex uint32, code string, isVip bool, noble uint32, headwearPicUrl, headwearEffectUrl, headwearReverseEffectUrl string,
svipLevel uint32, micEffect, headwearIcon string) error {
var msg = &userProxy.GroupMicChange{
SeqId: "todo", // todo todo
SeqId: seqId,
GroupId: txGroupId,
I: i,
Lock: lock,
......@@ -412,7 +412,7 @@ func SendSocketMicChange(userId uint64, externalId, txGroupId string, i uint32,
MicForbid: micForbid,
ExternalId: externalId,
AgoraId: agoraId,
Timestamp: time.Now().Unix(),
Timestamp: time.Now().UnixNano() / 1e6,
User: &userProxy.MicUserData{
Id: micUserId,
ExternalId: micUserExternalId,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment