DengBiao пре 1 година
родитељ
комит
a60fad66c9
1 измењених фајлова са 1 додато и 1 уклоњено
  1. +1
    -1
      internal/logic/domain/message/service/message_service.go

+ 1
- 1
internal/logic/domain/message/service/message_service.go Прегледај датотеку

@@ -159,7 +159,7 @@ func (*messageService) SendToUser(ctx context.Context, sender *pb.Sender, toUser
}

isOpenAppPush := svc.SysCfgGet(masterId, "is_open_app_push")
if sender.SenderType == pb.SenderType_ST_USER && req.ReceiverType == pb.ReceiverType_RT_USER && isOpenAppPush == "1" {
if sender.SenderType == pb.SenderType_ST_USER && req.ReceiverType == pb.ReceiverType_RT_USER && isOpenAppPush == "1" && req.ReceiverId != toUserId {
uid := strconv.FormatInt(req.ReceiverId, 10)
alia := db.DbUserPushForJg.UserPushForJgGetWithDb(masterId, uid)
if alia != "" {


Loading…
Откажи
Сачувај