Skip to content

Commit

Permalink
refactor: change project module name. (#320)
Browse files Browse the repository at this point in the history
* fix: message status change

* fix: page pull change args

* feat: add wasm multipart upload

* feat: add wasm multipart upload

* feat: add wasm multipart upload

* test: log add

* test: log add

* refactor: remove session type

* refactor: remove session type

* refactor: remove session type

* refactor: remove session type

* refactor: syncer update

* refactor: syncer update

* refactor: syncer update

* refactor: syncer update

* refactor: syncer update

* refactor: syncer update

* refactor: go-cmp change version

* feat: wasm add upload file

* feat: wasm add upload file

* refactor: user update

* refactor: upload file add content type

* refactor: conversation trigger

* refactor: conversation trigger

* fix: msg file ContentType

* test: log  add

* chore: makefile update

* fix: sync user info error

* fix: send video message blocking

Signed-off-by: Gordon <[email protected]>

* fix: logout don't callback when network can not establish

Signed-off-by: Gordon <[email protected]>

* fix: logout don't callback when network can not establish

Signed-off-by: Gordon <[email protected]>

* new feat: sync less data

* new feat: sync less data

* fix: still reconn when token is invalid

Signed-off-by: Gordon <[email protected]>

* fix: sendMessage not oss add content

Signed-off-by: Gordon <[email protected]>

* flag

Signed-off-by: hanzhixiao <[email protected]>

* fix bug: friend wasm sql

* fix: kick logout

Signed-off-by: Gordon <[email protected]>

* fix: kick logout

Signed-off-by: Gordon <[email protected]>

* fix bug: friend msg syncer

* fix: wasm db close

Signed-off-by: Gordon <[email protected]>

* fix: wasm db close

Signed-off-by: Gordon <[email protected]>

* Fix: wasm close db (#176)

* fix: message status change

* fix: page pull change args

* feat: add wasm multipart upload

* feat: add wasm multipart upload

* feat: add wasm multipart upload

* test: log add

* test: log add

* refactor: remove session type

* refactor: remove session type

* refactor: remove session type

* refactor: remove session type

* refactor: syncer update

* refactor: syncer update

* refactor: syncer update

* refactor: syncer update

* refactor: syncer update

* refactor: syncer update

* refactor: go-cmp change version

* feat: wasm add upload file

* feat: wasm add upload file

* refactor: user update

* refactor: upload file add content type

* refactor: conversation trigger

* refactor: conversation trigger

* fix: msg file ContentType

* test: log  add

* chore: makefile update

* fix: sync user info error

* fix: send video message blocking

Signed-off-by: Gordon <[email protected]>

* fix: logout don't callback when network can not establish

Signed-off-by: Gordon <[email protected]>

* fix: logout don't callback when network can not establish

Signed-off-by: Gordon <[email protected]>

* fix: still reconn when token is invalid

Signed-off-by: Gordon <[email protected]>

* fix: sendMessage not oss add content

Signed-off-by: Gordon <[email protected]>

* fix: kick logout

Signed-off-by: Gordon <[email protected]>

* fix: kick logout

Signed-off-by: Gordon <[email protected]>

* fix: wasm db close

Signed-off-by: Gordon <[email protected]>

* fix: wasm db close

Signed-off-by: Gordon <[email protected]>

---------

Signed-off-by: Gordon <[email protected]>
Co-authored-by: withchao <[email protected]>

* fix: search messages add localEx field

Signed-off-by: Gordon <[email protected]>

* test

Signed-off-by: hanzhixiao <[email protected]>

* fix bug: user update name and faceurl not sync

* feat: conversation local ex

* feat: conversation local ex

* fix bug: sync failed

* presuretest code

* test

* test: pressure test code

* fix: program will crash when websocket just initialized and send message

Signed-off-by: Gordon <[email protected]>

* feature: add function of unInitSDK

Signed-off-by: Gordon <[email protected]>

* test: add function of create group and send messages

Signed-off-by: Gordon <[email protected]>

* test: add function of create group and send messages

Signed-off-by: Gordon <[email protected]>

* fxi: pull messages with pagination and send message add reply timeout.

Signed-off-by: Gordon <[email protected]>

* feat: wasm add business listener

Signed-off-by: Gordon <[email protected]>

* feat: log level can set gorm log level

Signed-off-by: Gordon <[email protected]>

* fix: user goroutine did not exit when ws dial because of token invalid or expired

Signed-off-by: Gordon <[email protected]>

* fix: err message update

Signed-off-by: Gordon <[email protected]>

* test: panic recover

Signed-off-by: Gordon <[email protected]>

* fix: avoid panic when local don't have message

Signed-off-by: Gordon <[email protected]>

* test: test args change

Signed-off-by: Gordon <[email protected]>

* fix: some messages seq is zero,filter this message and print exception info

Signed-off-by: Gordon <[email protected]>

* fix: user online status pb change

Signed-off-by: Gordon <[email protected]>

* test: add sdk user send message

Signed-off-by: Gordon <[email protected]>

* test: add sdk user send message

Signed-off-by: Gordon <[email protected]>

* fix: sync conversation panic when some groups deleted in server that user joined groups.

Signed-off-by: Gordon <[email protected]>

* fix: sdk trigger token expired callback

Signed-off-by: Gordon <[email protected]>

* fix: sdk remove group sync concurrent,maybe cause sync group members failed.

Signed-off-by: Gordon <[email protected]>

* fix: do not update group message when get user info.

Signed-off-by: Gordon <[email protected]>

* fix: private chat notification update.

Signed-off-by: Gordon <[email protected]>

* fix: change the conversation to synchronous retrieval.

Signed-off-by: Gordon <[email protected]>

* fix: split pull message.

Signed-off-by: Gordon <[email protected]>

* fix: user status online add to main func.

* fix: pull notifications.

* fix: pull notifications.

* fix: message update latest icon and name when first sync message.

* fix: message update latest icon and name when first sync message.

* fix: message update latest icon and name when first sync message.

* fix: stranger user model add wasm set func.

Signed-off-by: Gordon <[email protected]>

* fix: stranger user model add wasm set func.

* tes: change num of sender.

Signed-off-by: Gordon <[email protected]>

* fix: create a group, group members greater than 5000 report an error

* fix: remove stranger func in user model.

Signed-off-by: Gordon <[email protected]>

* refactor: change project module name.

Signed-off-by: Gordon <[email protected]>

---------

Signed-off-by: Gordon <[email protected]>
Signed-off-by: hanzhixiao <[email protected]>
Signed-off-by: Gordon <[email protected]>
Co-authored-by: wangchuxiao <[email protected]>
Co-authored-by: withchao <[email protected]>
Co-authored-by: hanzhixiao <[email protected]>
Co-authored-by: withchao <[email protected]>
  • Loading branch information
5 people authored Sep 7, 2023
1 parent 74ebfe2 commit 69e49e0
Show file tree
Hide file tree
Showing 178 changed files with 605 additions and 609 deletions.
10 changes: 5 additions & 5 deletions cmd/gordon_main.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ package main

import (
"encoding/json"
"open_im_sdk/pkg/log"
"open_im_sdk/pkg/network"
"open_im_sdk/pkg/server_api_params"
"open_im_sdk/pkg/utils"
"open_im_sdk/test"
"github.com/openimsdk/openim-sdk-core/v3/pkg/log"
"github.com/openimsdk/openim-sdk-core/v3/pkg/network"
"github.com/openimsdk/openim-sdk-core/v3/pkg/server_api_params"
"github.com/openimsdk/openim-sdk-core/v3/pkg/utils"
"github.com/openimsdk/openim-sdk-core/v3/test"
"time"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ package main

import (
"fmt"
"open_im_sdk/test"
"github.com/openimsdk/openim-sdk-core/v3/test"
"time"
)

Expand Down
4 changes: 2 additions & 2 deletions cmd/press_open_im.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ package main

import (
"flag"
"open_im_sdk/pkg/log"
"open_im_sdk/test"
"github.com/openimsdk/openim-sdk-core/v3/pkg/log"
"github.com/openimsdk/openim-sdk-core/v3/test"
)

func main() {
Expand Down
4 changes: 2 additions & 2 deletions cmd/reliability_open_im.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ package main

import (
"flag"
"open_im_sdk/pkg/log"
"open_im_sdk/test"
"github.com/openimsdk/openim-sdk-core/v3/pkg/log"
"github.com/openimsdk/openim-sdk-core/v3/test"
)

func main() {
Expand Down
8 changes: 4 additions & 4 deletions cmd/sk_main.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
package main

import (
"open_im_sdk/pkg/db"
"open_im_sdk/pkg/log"
"open_im_sdk/pkg/utils"
"open_im_sdk/test"
"github.com/openimsdk/openim-sdk-core/v3/pkg/db"
"github.com/openimsdk/openim-sdk-core/v3/pkg/log"
"github.com/openimsdk/openim-sdk-core/v3/pkg/utils"
"github.com/openimsdk/openim-sdk-core/v3/test"
"time"
)

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module open_im_sdk
module github.com/openimsdk/openim-sdk-core/v3

go 1.18

Expand Down
8 changes: 4 additions & 4 deletions internal/business/business.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ package business

import (
"context"
"open_im_sdk/open_im_sdk_callback"
"open_im_sdk/pkg/db/db_interface"
"open_im_sdk/pkg/utils"
"open_im_sdk/sdk_struct"
"github.com/openimsdk/openim-sdk-core/v3/open_im_sdk_callback"
"github.com/openimsdk/openim-sdk-core/v3/pkg/db/db_interface"
"github.com/openimsdk/openim-sdk-core/v3/pkg/utils"
"github.com/openimsdk/openim-sdk-core/v3/sdk_struct"

"github.com/OpenIMSDK/protocol/sdkws"

Expand Down
2 changes: 1 addition & 1 deletion internal/business/open_im_sdk_business.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
package business

import (
"open_im_sdk/open_im_sdk_callback"
"github.com/openimsdk/openim-sdk-core/v3/open_im_sdk_callback"
)

func (w *Business) SetListener(callback open_im_sdk_callback.OnCustomBusinessListener) {
Expand Down
8 changes: 4 additions & 4 deletions internal/cache/cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ package cache

import (
"context"
"open_im_sdk/internal/friend"
"open_im_sdk/internal/user"
"open_im_sdk/pkg/db/model_struct"
"open_im_sdk/pkg/sdkerrs"
"github.com/openimsdk/openim-sdk-core/v3/internal/friend"
"github.com/openimsdk/openim-sdk-core/v3/internal/user"
"github.com/openimsdk/openim-sdk-core/v3/pkg/db/model_struct"
"github.com/openimsdk/openim-sdk-core/v3/pkg/sdkerrs"
"sync"

userPb "github.com/OpenIMSDK/protocol/user"
Expand Down
2 changes: 1 addition & 1 deletion internal/common/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
package common

import (
"open_im_sdk/pkg/utils"
"github.com/openimsdk/openim-sdk-core/v3/pkg/utils"

"github.com/OpenIMSDK/protocol/sdkws"
"github.com/golang/protobuf/proto"
Expand Down
20 changes: 10 additions & 10 deletions internal/conversation_msg/conversation.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ package conversation_msg
import (
"context"
"errors"
_ "open_im_sdk/internal/common"
"open_im_sdk/internal/util"
"open_im_sdk/pkg/common"
"open_im_sdk/pkg/constant"
"open_im_sdk/pkg/db/model_struct"
sdk "open_im_sdk/pkg/sdk_params_callback"
"open_im_sdk/pkg/sdkerrs"
"open_im_sdk/pkg/server_api_params"
"open_im_sdk/pkg/utils"
"open_im_sdk/sdk_struct"
_ "github.com/openimsdk/openim-sdk-core/v3/internal/common"
"github.com/openimsdk/openim-sdk-core/v3/internal/util"
"github.com/openimsdk/openim-sdk-core/v3/pkg/common"
"github.com/openimsdk/openim-sdk-core/v3/pkg/constant"
"github.com/openimsdk/openim-sdk-core/v3/pkg/db/model_struct"
sdk "github.com/openimsdk/openim-sdk-core/v3/pkg/sdk_params_callback"
"github.com/openimsdk/openim-sdk-core/v3/pkg/sdkerrs"
"github.com/openimsdk/openim-sdk-core/v3/pkg/server_api_params"
"github.com/openimsdk/openim-sdk-core/v3/pkg/utils"
"github.com/openimsdk/openim-sdk-core/v3/sdk_struct"
"sort"
"strings"
"time"
Expand Down
36 changes: 18 additions & 18 deletions internal/conversation_msg/conversation_msg.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,27 +18,27 @@ import (
"context"
"encoding/json"
"errors"
"open_im_sdk/internal/business"
"open_im_sdk/internal/cache"
"open_im_sdk/internal/file"
"open_im_sdk/internal/friend"
"open_im_sdk/internal/full"
"open_im_sdk/internal/group"
"open_im_sdk/internal/interaction"
"open_im_sdk/internal/user"
"open_im_sdk/open_im_sdk_callback"
"open_im_sdk/pkg/ccontext"
"open_im_sdk/pkg/common"
"open_im_sdk/pkg/constant"
"open_im_sdk/pkg/db/db_interface"
"open_im_sdk/pkg/db/model_struct"
sdk "open_im_sdk/pkg/sdk_params_callback"
"open_im_sdk/pkg/syncer"
"github.com/openimsdk/openim-sdk-core/v3/internal/business"
"github.com/openimsdk/openim-sdk-core/v3/internal/cache"
"github.com/openimsdk/openim-sdk-core/v3/internal/file"
"github.com/openimsdk/openim-sdk-core/v3/internal/friend"
"github.com/openimsdk/openim-sdk-core/v3/internal/full"
"github.com/openimsdk/openim-sdk-core/v3/internal/group"
"github.com/openimsdk/openim-sdk-core/v3/internal/interaction"
"github.com/openimsdk/openim-sdk-core/v3/internal/user"
"github.com/openimsdk/openim-sdk-core/v3/open_im_sdk_callback"
"github.com/openimsdk/openim-sdk-core/v3/pkg/ccontext"
"github.com/openimsdk/openim-sdk-core/v3/pkg/common"
"github.com/openimsdk/openim-sdk-core/v3/pkg/constant"
"github.com/openimsdk/openim-sdk-core/v3/pkg/db/db_interface"
"github.com/openimsdk/openim-sdk-core/v3/pkg/db/model_struct"
sdk "github.com/openimsdk/openim-sdk-core/v3/pkg/sdk_params_callback"
"github.com/openimsdk/openim-sdk-core/v3/pkg/syncer"

"github.com/OpenIMSDK/tools/log"

"open_im_sdk/pkg/utils"
"open_im_sdk/sdk_struct"
"github.com/openimsdk/openim-sdk-core/v3/pkg/utils"
"github.com/openimsdk/openim-sdk-core/v3/sdk_struct"
"sort"
"time"

Expand Down
10 changes: 5 additions & 5 deletions internal/conversation_msg/conversation_notification.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ package conversation_msg
import (
"context"
"encoding/json"
"open_im_sdk/pkg/common"
"open_im_sdk/pkg/constant"
"open_im_sdk/pkg/db/model_struct"
"open_im_sdk/pkg/utils"
"open_im_sdk/sdk_struct"
"github.com/openimsdk/openim-sdk-core/v3/pkg/common"
"github.com/openimsdk/openim-sdk-core/v3/pkg/constant"
"github.com/openimsdk/openim-sdk-core/v3/pkg/db/model_struct"
"github.com/openimsdk/openim-sdk-core/v3/pkg/utils"
"github.com/openimsdk/openim-sdk-core/v3/sdk_struct"
"time"

"github.com/OpenIMSDK/protocol/sdkws"
Expand Down
2 changes: 1 addition & 1 deletion internal/conversation_msg/convert.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
package conversation_msg

import (
"open_im_sdk/pkg/db/model_struct"
"github.com/openimsdk/openim-sdk-core/v3/pkg/db/model_struct"

pbConversation "github.com/OpenIMSDK/protocol/conversation"
)
Expand Down
10 changes: 5 additions & 5 deletions internal/conversation_msg/create_message.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ package conversation_msg
import (
"context"
"errors"
"open_im_sdk/pkg/constant"
"open_im_sdk/pkg/log"
"open_im_sdk/pkg/sdkerrs"
"open_im_sdk/pkg/utils"
"open_im_sdk/sdk_struct"
"github.com/openimsdk/openim-sdk-core/v3/pkg/constant"
"github.com/openimsdk/openim-sdk-core/v3/pkg/log"
"github.com/openimsdk/openim-sdk-core/v3/pkg/sdkerrs"
"github.com/openimsdk/openim-sdk-core/v3/pkg/utils"
"github.com/openimsdk/openim-sdk-core/v3/sdk_struct"
"os"
"path/filepath"
"strings"
Expand Down
12 changes: 6 additions & 6 deletions internal/conversation_msg/delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ package conversation_msg

import (
"context"
"open_im_sdk/internal/util"
"open_im_sdk/pkg/common"
"open_im_sdk/pkg/constant"
"open_im_sdk/pkg/sdkerrs"
"github.com/openimsdk/openim-sdk-core/v3/internal/util"
"github.com/openimsdk/openim-sdk-core/v3/pkg/common"
"github.com/openimsdk/openim-sdk-core/v3/pkg/constant"
"github.com/openimsdk/openim-sdk-core/v3/pkg/sdkerrs"

"open_im_sdk/pkg/utils"
"open_im_sdk/sdk_struct"
"github.com/openimsdk/openim-sdk-core/v3/pkg/utils"
"github.com/openimsdk/openim-sdk-core/v3/sdk_struct"

pbMsg "github.com/OpenIMSDK/protocol/msg"
"github.com/OpenIMSDK/protocol/sdkws"
Expand Down
2 changes: 1 addition & 1 deletion internal/conversation_msg/image.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ package conversation_msg

import (
"github.com/OpenIMSDK/tools/errs"
"github.com/openimsdk/openim-sdk-core/v3/sdk_struct"
_ "golang.org/x/image/bmp"
_ "golang.org/x/image/tiff"
_ "golang.org/x/image/webp"
"image"
_ "image/gif"
_ "image/jpeg"
_ "image/png"
"open_im_sdk/sdk_struct"
"os"
)

Expand Down
8 changes: 4 additions & 4 deletions internal/conversation_msg/message_check.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ package conversation_msg
import (
"context"
"errors"
"open_im_sdk/pkg/constant"
"open_im_sdk/pkg/db/model_struct"
sdk "open_im_sdk/pkg/sdk_params_callback"
"open_im_sdk/pkg/utils"
"github.com/openimsdk/openim-sdk-core/v3/pkg/constant"
"github.com/openimsdk/openim-sdk-core/v3/pkg/db/model_struct"
sdk "github.com/openimsdk/openim-sdk-core/v3/pkg/sdk_params_callback"
"github.com/openimsdk/openim-sdk-core/v3/pkg/utils"

"github.com/OpenIMSDK/tools/log"

Expand Down
10 changes: 5 additions & 5 deletions internal/conversation_msg/message_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ package conversation_msg

import (
"context"
"open_im_sdk/internal/util"
"open_im_sdk/pkg/constant"
"open_im_sdk/pkg/db/db_interface"
"open_im_sdk/pkg/db/model_struct"
"open_im_sdk/pkg/utils"
"github.com/openimsdk/openim-sdk-core/v3/internal/util"
"github.com/openimsdk/openim-sdk-core/v3/pkg/constant"
"github.com/openimsdk/openim-sdk-core/v3/pkg/db/db_interface"
"github.com/openimsdk/openim-sdk-core/v3/pkg/db/model_struct"
"github.com/openimsdk/openim-sdk-core/v3/pkg/utils"

"github.com/OpenIMSDK/protocol/sdkws"
"github.com/OpenIMSDK/tools/log"
Expand Down
6 changes: 3 additions & 3 deletions internal/conversation_msg/progress.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ package conversation_msg
import (
"context"
"encoding/json"
"open_im_sdk/internal/file"
"open_im_sdk/pkg/db/db_interface"
"open_im_sdk/sdk_struct"
"github.com/openimsdk/openim-sdk-core/v3/internal/file"
"github.com/openimsdk/openim-sdk-core/v3/pkg/db/db_interface"
"github.com/openimsdk/openim-sdk-core/v3/sdk_struct"

"github.com/OpenIMSDK/tools/log"
)
Expand Down
12 changes: 6 additions & 6 deletions internal/conversation_msg/read_drawing.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ package conversation_msg
import (
"context"
"errors"
"open_im_sdk/internal/util"
"open_im_sdk/pkg/common"
"open_im_sdk/pkg/constant"
"open_im_sdk/pkg/db/model_struct"
"open_im_sdk/pkg/utils"
"open_im_sdk/sdk_struct"
"github.com/openimsdk/openim-sdk-core/v3/internal/util"
"github.com/openimsdk/openim-sdk-core/v3/pkg/common"
"github.com/openimsdk/openim-sdk-core/v3/pkg/constant"
"github.com/openimsdk/openim-sdk-core/v3/pkg/db/model_struct"
"github.com/openimsdk/openim-sdk-core/v3/pkg/utils"
"github.com/openimsdk/openim-sdk-core/v3/sdk_struct"

pbMsg "github.com/OpenIMSDK/protocol/msg"
"github.com/OpenIMSDK/protocol/sdkws"
Expand Down
12 changes: 6 additions & 6 deletions internal/conversation_msg/revoke.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ package conversation_msg
import (
"context"
"errors"
"open_im_sdk/internal/util"
"open_im_sdk/pkg/common"
"open_im_sdk/pkg/constant"
"open_im_sdk/pkg/db/model_struct"
"open_im_sdk/pkg/utils"
"open_im_sdk/sdk_struct"
"github.com/openimsdk/openim-sdk-core/v3/internal/util"
"github.com/openimsdk/openim-sdk-core/v3/pkg/common"
"github.com/openimsdk/openim-sdk-core/v3/pkg/constant"
"github.com/openimsdk/openim-sdk-core/v3/pkg/db/model_struct"
"github.com/openimsdk/openim-sdk-core/v3/pkg/utils"
"github.com/openimsdk/openim-sdk-core/v3/sdk_struct"

pbMsg "github.com/OpenIMSDK/protocol/msg"
"github.com/OpenIMSDK/protocol/sdkws"
Expand Down
24 changes: 12 additions & 12 deletions internal/conversation_msg/sdk.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,19 @@ import (
"bytes"
"context"
"fmt"
"github.com/openimsdk/openim-sdk-core/v3/internal/file"
"github.com/openimsdk/openim-sdk-core/v3/internal/util"
"github.com/openimsdk/openim-sdk-core/v3/open_im_sdk_callback"
"github.com/openimsdk/openim-sdk-core/v3/pkg/common"
"github.com/openimsdk/openim-sdk-core/v3/pkg/constant"
"github.com/openimsdk/openim-sdk-core/v3/pkg/content_type"
"github.com/openimsdk/openim-sdk-core/v3/pkg/db/model_struct"
"github.com/openimsdk/openim-sdk-core/v3/pkg/sdk_params_callback"
"github.com/openimsdk/openim-sdk-core/v3/pkg/sdkerrs"
"github.com/openimsdk/openim-sdk-core/v3/pkg/server_api_params"
"github.com/openimsdk/openim-sdk-core/v3/pkg/utils"
"github.com/openimsdk/openim-sdk-core/v3/sdk_struct"
"net/url"
"open_im_sdk/internal/file"
"open_im_sdk/internal/util"
"open_im_sdk/open_im_sdk_callback"
"open_im_sdk/pkg/common"
"open_im_sdk/pkg/constant"
"open_im_sdk/pkg/content_type"
"open_im_sdk/pkg/db/model_struct"
"open_im_sdk/pkg/sdk_params_callback"
"open_im_sdk/pkg/sdkerrs"
"open_im_sdk/pkg/server_api_params"
"open_im_sdk/pkg/utils"
"open_im_sdk/sdk_struct"
"os"
"path/filepath"
"sort"
Expand Down
8 changes: 4 additions & 4 deletions internal/conversation_msg/sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ package conversation_msg

import (
"context"
"open_im_sdk/pkg/common"
"open_im_sdk/pkg/constant"
"open_im_sdk/pkg/db/model_struct"
"open_im_sdk/pkg/syncer"
"github.com/openimsdk/openim-sdk-core/v3/pkg/common"
"github.com/openimsdk/openim-sdk-core/v3/pkg/constant"
"github.com/openimsdk/openim-sdk-core/v3/pkg/db/model_struct"
"github.com/openimsdk/openim-sdk-core/v3/pkg/syncer"
"time"

"github.com/OpenIMSDK/tools/errs"
Expand Down
Loading

0 comments on commit 69e49e0

Please sign in to comment.