Page MenuHomePhorge

Fix undecrytable events not generating notifications
Needs ReviewPublic

Authored by tusooa on Mon, Jul 20, 8:22 PM.

Details

Reviewers
None
Group Reviewers
O1: the Kazv Project
Summary

We used to use the event type/content in raw() when processing push rules, which will lead to them trying to match our "unable to decrypt" private events. This is fixed by using cleartext part for events that are not yet decrypted or unable to decrypt.

Type: fix

Adapted from output of OpenCode (DeepSeek V4 Pro). tusooa reviewed the code and takes full responsibility.

Test Plan

Send an undecryptable event to kazv and verify you have received the notification (which matches the "m.room.encrypted" rule).

Diff Detail

Repository
rL libkazv
Branch
tusooa/stacked
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 673
Build 1328: Invoke BuildbotBuildbot build #2181
Build 1327: arc lint + arc unit