Skip to content

Commit

Permalink
fix: jssdk add
Browse files Browse the repository at this point in the history
  • Loading branch information
withchao committed Oct 11, 2024
1 parent 122bf66 commit 0e13614
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/minio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ sessionToken:
# Internal address of the MinIO server
internalAddress: localhost:10005
# External address of the MinIO server, accessible from outside. Supports both HTTP and HTTPS using a domain name
externalAddress: http://external_ip:10005
externalAddress: http://172.16.8.12:10005
# Flag to enable or disable public read access to the bucket
publicRead: false

Expand Down
7 changes: 5 additions & 2 deletions internal/api/jssdk/stu.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,11 @@ type ActiveConversationsReq struct {
type ConversationMsg struct {
Conversation *conversation.Conversation `json:"conversation"`
LastMsg *sdkws.MsgData `json:"lastMsg"`
MaxSeq int64 `json:"maxSeq"`
ReadSeq int64 `json:"readSeq"`
User *sdkws.UserInfo
Friend *sdkws.FriendInfo
Group *sdkws.GroupInfo
MaxSeq int64 `json:"maxSeq"`
ReadSeq int64 `json:"readSeq"`
}

type ConversationsResp struct {
Expand Down

0 comments on commit 0e13614

Please sign in to comment.