ConfigChats uses a resource converter so SQL filters qualify chat ACL columns consistently with GetChats.
()
| 712 | // ConfigChats uses a resource converter so SQL filters qualify chat |
| 713 | // ACL columns consistently with GetChats. |
| 714 | func ConfigChats() regosql.ConvertConfig { |
| 715 | converter := regosql.ChatConverter() |
| 716 | if ChatACLDisabled() { |
| 717 | converter = regosql.ChatNoACLConverter() |
| 718 | } |
| 719 | return regosql.ConvertConfig{ |
| 720 | VariableConverter: converter, |
| 721 | } |
| 722 | } |
| 723 | |
| 724 | func ConfigWorkspaces() regosql.ConvertConfig { |
| 725 | return regosql.ConvertConfig{ |
no test coverage detected