Check if excluded domains array is empty (#574)
`m.origin <> ANY(array[]:text[])` doesn't seem to work (or matches zero records). We need to check if the array is empty using `cardinality`. In testing, `array_length` didn't work, and since we're only ever using a one dimensional array, cardinality is fine. Fixes https://github.com/t2bot/matrix-media-repo/issues/564
Please register or sign in to comment