Skip to content

Commit

Permalink
Merge branch 'AP-778' of https://github.com/Satellite-im/Core-PWA int…
Browse files Browse the repository at this point in the history
…o AP-778
  • Loading branch information
drepram committed Feb 22, 2022
2 parents ec4124e + ab37ec8 commit ea86183
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion store/ui/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ export default {
commit('setMessages', messages)
},
sendMessage({ commit, rootState }: ActionsArguments<UIState>, message: any) {
if (message.user.address !== rootState.accounts.active)
if (message.user.address !== rootState.accounts.active) {
$Sounds.playSound(Sounds.NEW_MESSAGE)
}
commit('sendMessage', message)
},
setIsScrollOver({ commit }: ActionsArguments<UIState>, status: boolean) {
Expand Down

0 comments on commit ea86183

Please sign in to comment.