mirror of
https://github.com/binwiederhier/ntfy.git
synced 2025-05-27 17:05:36 +02:00
More todos
This commit is contained in:
parent
483410c4a2
commit
0c3d832c5f
3 changed files with 4 additions and 3 deletions
server
|
@ -1169,7 +1169,7 @@ func parseSubscribeParams(r *http.Request) (poll bool, since sinceMarker, schedu
|
|||
// Note: This TEMPORARILY also registers all topics starting with "up" (= UnifiedPush). This is to ease the transition
|
||||
// until the Android app will send the "Rate-Topics" header.
|
||||
func registerRateVisitors(topics []*topic, rateTopics []string, v *visitor) {
|
||||
if len(rateTopics) > 0 && rateTopics[0] == rateTopicsWildcard {
|
||||
if len(rateTopics) == 1 && rateTopics[0] == rateTopicsWildcard {
|
||||
for _, t := range topics {
|
||||
t.SetRateVisitor(v)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue