Remove "poll" alias for X-Poll-ID

This commit is contained in:
Philipp Heckel 2022-05-28 22:06:46 -04:00
parent b003d79ae4
commit b2c2bd1e4b
2 changed files with 2 additions and 1 deletions

View file

@ -581,7 +581,7 @@ func (s *Server) parsePublishParams(r *http.Request, v *visitor, m *message) (ca
firebase = false
unifiedpush = true
}
m.PollID = readParam(r, "x-poll-id", "poll-id", "poll")
m.PollID = readParam(r, "x-poll-id", "poll-id")
if m.PollID != "" {
unifiedpush = false
cache = false