Merge pull request #4250 from matrix-org/hawkowl/pusher-remove-py3

Fix removing pushers on python 3
This commit is contained in:
Richard van der Hoff authored and GitHub committed 2018-12-04 11:22:46 +01:00
commit a077e710a3
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -0,0 +1 @@
Pushers can now be unsubscribed from on Python 3.
+1 -1
View File
@@ -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 = "<html><body>You have been unsubscribed</body><html>"
SUCCESS_HTML = b"<html><body>You have been unsubscribed</body><html>"
def __init__(self, hs):
super(PushersRemoveRestServlet, self).__init__()