(ctx context.Context)
| 210 | } |
| 211 | |
| 212 | func chatdContext(ctx context.Context) context.Context { |
| 213 | //nolint:gocritic // AsChatd provides narrowly-scoped daemon access for |
| 214 | // chat debug persistence reads and writes. |
| 215 | return dbauthz.AsChatd(ctx) |
| 216 | } |
| 217 | |
| 218 | // IsEnabled returns whether debug logging is enabled for the given chat. |
| 219 | func (s *Service) IsEnabled( |
no test coverage detected