mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-07 10:35:59 +08:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ef399caa4d |
+12
-1
@@ -75,6 +75,17 @@ OpenIMSDK/OpenKF:
|
|||||||
dest: .github/.codecov.yml
|
dest: .github/.codecov.yml
|
||||||
replace: false
|
replace: false
|
||||||
|
|
||||||
|
openim-sigs/openim-docker:
|
||||||
|
- source: ./config
|
||||||
|
dest: ./openim-server/config
|
||||||
|
replace: true
|
||||||
|
- source: ./docs
|
||||||
|
dest: ./openim-server/docs
|
||||||
|
replace: true
|
||||||
|
- source: ./scripts
|
||||||
|
dest: ./openim-server/scripts
|
||||||
|
replace: true
|
||||||
|
|
||||||
group:
|
group:
|
||||||
# first group:common to all warehouses
|
# first group:common to all warehouses
|
||||||
# TODO: add the required warehouse here
|
# TODO: add the required warehouse here
|
||||||
@@ -116,4 +127,4 @@ group:
|
|||||||
replace: false
|
replace: false
|
||||||
- source: ./scripts/githooks/
|
- source: ./scripts/githooks/
|
||||||
dest: ./scripts/githooks/
|
dest: ./scripts/githooks/
|
||||||
replace: true
|
replace: true
|
||||||
|
|||||||
@@ -15,7 +15,6 @@
|
|||||||
package convert
|
package convert
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/OpenIMSDK/protocol/constant"
|
|
||||||
"github.com/OpenIMSDK/protocol/sdkws"
|
"github.com/OpenIMSDK/protocol/sdkws"
|
||||||
|
|
||||||
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/db/table/unrelation"
|
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/db/table/unrelation"
|
||||||
@@ -79,9 +78,7 @@ func MsgDB2Pb(msgModel *unrelation.MsgDataModel) *sdkws.MsgData {
|
|||||||
msg.SendTime = msgModel.SendTime
|
msg.SendTime = msgModel.SendTime
|
||||||
msg.CreateTime = msgModel.CreateTime
|
msg.CreateTime = msgModel.CreateTime
|
||||||
msg.Status = msgModel.Status
|
msg.Status = msgModel.Status
|
||||||
if msgModel.SessionType == constant.SingleChatType {
|
msg.IsRead = msgModel.IsRead
|
||||||
msg.IsRead = msgModel.IsRead
|
|
||||||
}
|
|
||||||
msg.Options = msgModel.Options
|
msg.Options = msgModel.Options
|
||||||
if msgModel.OfflinePush != nil {
|
if msgModel.OfflinePush != nil {
|
||||||
msg.OfflinePushInfo = &sdkws.OfflinePushInfo{
|
msg.OfflinePushInfo = &sdkws.OfflinePushInfo{
|
||||||
|
|||||||
Reference in New Issue
Block a user