diff options
author | Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> | 2019-05-10 10:32:44 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-10 10:32:44 -0700 |
commit | 2f48c4e1ae40869a1bc5dcb36557ad0a0d8a5728 (patch) | |
tree | 7b83d18d61d1eaaa38e705ace989ea3cdcb2c82c /changelog.d | |
parent | Revert 085ae346ace418e0fc043ac5f568f85ebf80038e (diff) | |
download | synapse-2f48c4e1ae40869a1bc5dcb36557ad0a0d8a5728.tar.xz |
URL preview blacklisting fixes (#5155)
Prevents a SynapseError being raised inside of a IResolutionReceiver and instead opts to just return 0 results. This thus means that we have to lump a failed lookup and a blacklisted lookup together with the same error message, but the substitute should be generic enough to cover both cases.
Diffstat (limited to 'changelog.d')
-rw-r--r-- | changelog.d/5155.misc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/5155.misc b/changelog.d/5155.misc new file mode 100644 index 0000000000..a81dbae67a --- /dev/null +++ b/changelog.d/5155.misc @@ -0,0 +1 @@ +Prevent an exception from being raised in a IResolutionReceiver and use a more generic error message for blacklisted URL previews. \ No newline at end of file |