mirror of
https://github.com/chatmail/core.git
synced 2026-09-22 13:01:21 +03:00
Closes https://github.com/chatmail/core/issues/8576. The diff might look big, but it's only two things: - move `can_call_me` one scope up - replace `emit_incoming_msg` with `emit_msg_event` with `important = can_call_me` I decided not to completely unify the `important` logic with the other occurrence of `emit_msg_event()` as I suggested in the issue yet. That IMO should still be considered, but let's start simple. Note that there is #7840 which may be closed by #7955, which will basically supersede this MR. I think, however, that it's OK to merge this one, and then that one can just revert this one, including tests, and rebase on top of the revert.