Do not send notification when window is active.

Bump version to 200.
This commit is contained in:
Black Hat 2018-08-19 15:10:32 +08:00
parent 4b2a33493f
commit cfe34e5303
2 changed files with 2 additions and 1 deletions

View File

@ -45,6 +45,7 @@
<content_attribute id="social-audio">intense</content_attribute>
</content_rating>
<releases>
<release version="200" date="2018-08-19" type="stable"></release>
<release version="187" date="2018-08-17" type="stable"></release>
</releases>
</component>

View File

@ -16,7 +16,7 @@ Page {
connection: page.connection
onRoomAdded: setting.lazyLoad ? {} : room.getPreviousContent(20)
onNewMessage: matriqueController.showMessage(roomName, content, icon)
onNewMessage: window.active ? {} : matriqueController.showMessage(roomName, content, icon)
}
RowLayout {