(ctx context.Context, chatID uuid.UUID)
| 2951 | } |
| 2952 | |
| 2953 | func (q *querier) GetChatDiffStatusByChatID(ctx context.Context, chatID uuid.UUID) (database.ChatDiffStatus, error) { |
| 2954 | // Authorize read on the parent chat. |
| 2955 | _, err := q.GetChatByID(ctx, chatID) |
| 2956 | if err != nil { |
| 2957 | return database.ChatDiffStatus{}, err |
| 2958 | } |
| 2959 | return q.db.GetChatDiffStatusByChatID(ctx, chatID) |
| 2960 | } |
| 2961 | |
| 2962 | func (q *querier) GetChatDiffStatusSummary(ctx context.Context) (database.GetChatDiffStatusSummaryRow, error) { |
| 2963 | // Telemetry queries are called from system contexts only. |
nothing calls this directly
no test coverage detected