Skip to content

Commit

Permalink
fix: dont throw if filter is not defined
Browse files Browse the repository at this point in the history
  • Loading branch information
d1snin committed Sep 28, 2024
1 parent 34bbcc0 commit 6a82fae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ internal var Attributes.eventPool: EventPool
set(value) = this.put(Key.EventPool, value)

internal var Attributes.filter: OutgoingEventFilter?
get() = this[Key.Filter]
get() = this.getOrNull(Key.Filter)
set(value) {
value?.let {
this.put(Key.Filter, it)
Expand Down

0 comments on commit 6a82fae

Please sign in to comment.