okTurtles / group-income

A decentralized and private (end-to-end encrypted) financial safety net for you and your friends.
https://groupincome.org
GNU Affero General Public License v3.0
331 stars 44 forks source link

Followup to notification DM issue PR #2398

Open taoeffect opened 3 weeks ago

taoeffect commented 3 weeks ago

Problem

As explained in this comment, I merged #2394 when I shouldn't have.

Solution

The isTargetChatroomCurrentlyActive check should either be done inside of messageReceivePostEffect or passed in as a boolean to messageReceivePostEffect, so that 'gi.actions/identity/kv/addChatRoomUnreadMessage' always gets called.