|
@@ -65,8 +65,8 @@ func (c *Client) reader() {
|
|
|
SessionId: chatingContent.Receiver,
|
|
|
Receiver: chatingContent.Receiver,
|
|
|
Sender: c.UserId,
|
|
|
- Type: uint8(message.Type),
|
|
|
- ContentType: uint8(chatingContent.PayloadType),
|
|
|
+ Type: message.Type,
|
|
|
+ ContentType: chatingContent.PayloadType,
|
|
|
Content: string(payload),
|
|
|
IsRead: false,
|
|
|
})
|