diff --git a/pkg/connector/backfill.go b/pkg/connector/backfill.go index d155fcb..fa572ff 100644 --- a/pkg/connector/backfill.go +++ b/pkg/connector/backfill.go @@ -214,6 +214,9 @@ func (m *MetaClient) FetchMessages(ctx context.Context, params bridgev2.FetchMes HasMoreAfter: true, }, } + } else { + zerolog.Ctx(ctx).Warn().Msg("Can't backfill chat with no messages") + return nil, nil } doneCh := make(chan struct{}) collector := &BackfillCollector{