@@ -25,7 +25,7 @@ import {
2525 ICallStartedPrefixCondition ,
2626 IContainsDisplayNameCondition ,
2727 IEventMatchCondition ,
28- IExactEventMatchPrefixCondition ,
28+ IEventPropertyIsCondition ,
2929 IPushRule ,
3030 IPushRules ,
3131 IRoomMemberCountCondition ,
@@ -338,8 +338,8 @@ export class PushProcessor {
338338 switch ( cond . kind ) {
339339 case ConditionKind . EventMatch :
340340 return this . eventFulfillsEventMatchCondition ( cond , ev ) ;
341- case ConditionKind . ExactEventMatchPrefix :
342- return this . eventFulfillsExactEventMatchCondition ( cond , ev ) ;
341+ case ConditionKind . EventPropertyIs :
342+ return this . eventFulfillsEventPropertyIsCondition ( cond , ev ) ;
343343 case ConditionKind . ContainsDisplayName :
344344 return this . eventFulfillsDisplayNameCondition ( cond , ev ) ;
345345 case ConditionKind . RoomMemberCount :
@@ -481,7 +481,7 @@ export class PushProcessor {
481481 * @param cond - The push rule condition to check for a match.
482482 * @param ev - The event to check for a match.
483483 */
484- private eventFulfillsExactEventMatchCondition ( cond : IExactEventMatchPrefixCondition , ev : MatrixEvent ) : boolean {
484+ private eventFulfillsEventPropertyIsCondition ( cond : IEventPropertyIsCondition , ev : MatrixEvent ) : boolean {
485485 if ( ! cond . key || cond . value === undefined ) {
486486 return false ;
487487 }
0 commit comments