Skip to content

Commit

Permalink
fix: remove send time and void client messages sort incorrect. (#377)
Browse files Browse the repository at this point in the history
* fix: message unread count remove when user not in group.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: group member delete trigger and close ws conn when user logout.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: group member delete trigger and close ws conn when user logout.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: group member delete trigger and close ws conn when user logout.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: group member delete trigger and close ws conn when user logout.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: remove send time and void client messages sort incorrect.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
  • Loading branch information
FGadvancer authored Oct 18, 2023
1 parent e85b55f commit 2edd0e7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion internal/conversation_msg/sdk.go
Original file line number Diff line number Diff line change
Expand Up @@ -1092,7 +1092,6 @@ func (c *Conversation) SetMessageLocalEx(ctx context.Context, conversationID str

func (c *Conversation) initBasicInfo(ctx context.Context, message *sdk_struct.MsgStruct, msgFrom, contentType int32) error {
message.CreateTime = utils.GetCurrentTimestampByMill()
message.SendTime = message.CreateTime
message.IsRead = false
message.Status = constant.MsgStatusSending
message.SendID = c.loginUserID
Expand Down

0 comments on commit 2edd0e7

Please sign in to comment.