From d3c61ef906abbbad0c9d420e8e206020c627902d Mon Sep 17 00:00:00 2001 From: Amber Brown Date: Mon, 3 Dec 2018 22:27:41 +1100 Subject: fix type error --- synapse/rest/client/v1/pusher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synapse/rest/client/v1/pusher.py b/synapse/rest/client/v1/pusher.py index b84f0260f2..4c07ae7f45 100644 --- a/synapse/rest/client/v1/pusher.py +++ b/synapse/rest/client/v1/pusher.py @@ -142,7 +142,7 @@ class PushersRemoveRestServlet(RestServlet): To allow pusher to be delete by clicking a link (ie. GET request) """ PATTERNS = client_path_patterns("/pushers/remove$") - SUCCESS_HTML = "You have been unsubscribed" + SUCCESS_HTML = b"You have been unsubscribed" def __init__(self, hs): super(PushersRemoveRestServlet, self).__init__() -- cgit 1.4.1 From 998ba414938fb342436c4f13c7a9a58ea8d06184 Mon Sep 17 00:00:00 2001 From: Amber Brown Date: Mon, 3 Dec 2018 22:28:12 +1100 Subject: changelog --- changelog.d/4250.bugfix | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/4250.bugfix diff --git a/changelog.d/4250.bugfix b/changelog.d/4250.bugfix new file mode 100644 index 0000000000..1f60f5bd0a --- /dev/null +++ b/changelog.d/4250.bugfix @@ -0,0 +1 @@ +Pushers can now be unsubscribed from on Python 3. -- cgit 1.4.1