Skip to content

Commit

Permalink
feat: test dummy push
Browse files Browse the repository at this point in the history
  • Loading branch information
icey-yu committed Sep 3, 2024
1 parent 1fcf6f7 commit f881080
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/push/offlinepush/dummy/push.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ package dummy
import (
"context"
"github.com/openimsdk/open-im-server/v3/internal/push/offlinepush/options"
"github.com/openimsdk/tools/log"
)

func NewClient() *Dummy {
Expand All @@ -27,5 +28,6 @@ type Dummy struct {
}

func (d *Dummy) Push(ctx context.Context, userIDs []string, title, content string, opts *options.Opts) error {
log.ZInfo(ctx, "dummy push")
return nil
}

0 comments on commit f881080

Please sign in to comment.