mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-28 23:20:09 +03:00
Merge pull request #4250 from matrix-org/hawkowl/pusher-remove-py3
Fix removing pushers on python 3
This commit is contained in:
commit
a077e710a3
2 changed files with 2 additions and 1 deletions
1
changelog.d/4250.bugfix
Normal file
1
changelog.d/4250.bugfix
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Pushers can now be unsubscribed from on Python 3.
|
|
@ -142,7 +142,7 @@ class PushersRemoveRestServlet(RestServlet):
|
||||||
To allow pusher to be delete by clicking a link (ie. GET request)
|
To allow pusher to be delete by clicking a link (ie. GET request)
|
||||||
"""
|
"""
|
||||||
PATTERNS = client_path_patterns("/pushers/remove$")
|
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):
|
def __init__(self, hs):
|
||||||
super(PushersRemoveRestServlet, self).__init__()
|
super(PushersRemoveRestServlet, self).__init__()
|
||||||
|
|
Loading…
Reference in a new issue