diff options
Diffstat (limited to 'cache.go')
| -rw-r--r-- | cache.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -33,7 +33,7 @@ func (c *Cache) Update(states States) { for id, state := range states { cached, known := c.States[id] if !known || cached != state { - topic := fmt.Sprintf("%s/contact/%s/state", TOPIC_PREFIX, id) + topic := fmt.Sprintf("contact/%s/state", id) var payload []byte if state == true { payload = []byte("open") |
