Skip to content

Commit

Permalink
Things list: Do not listen to InboxUpdatedEvents (#2942)
Browse files Browse the repository at this point in the history
Fixes #2395.
Supersedes #2918.

Those do not change the inbox count and hence can be ignored.

Signed-off-by: Florian Hotze <[email protected]>
  • Loading branch information
florian-h05 authored Dec 22, 2024
1 parent 8d8e46a commit 3861fa8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ export default {
})
},
startEventSource () {
this.eventSource = this.$oh.sse.connect('/rest/events?topics=openhab/things/*/added,openhab/things/*/removed,openhab/things/*/updated,openhab/things/*/status,openhab/inbox/*', null, (event) => {
this.eventSource = this.$oh.sse.connect('/rest/events?topics=openhab/things/*/added,openhab/things/*/removed,openhab/things/*/updated,openhab/things/*/status,openhab/inbox/*/added,openhab/inbox/*/removed', null, (event) => {
const topicParts = event.topic.split('/')
if (topicParts[1] === 'inbox') {
this.loadInbox()
Expand Down

0 comments on commit 3861fa8

Please sign in to comment.