fix: offset
This commit is contained in:
@@ -66,7 +66,7 @@ func watchCmd(ctx context.Context) error {
|
||||
}
|
||||
|
||||
for {
|
||||
if err := client.Channel(ctx, channel, cfg, modeHistory); err != nil {
|
||||
if err := client.Channel(ctx, channel, cfg); err != nil {
|
||||
if errors.Is(err, errorx.ErrNoNewMessage) {
|
||||
logger.Info("no new message", zap.Int64("uuid", ch.UUID))
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user