File tree 2 files changed +6
-4
lines changed
2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 3
3
# 0.6.6
4
4
5
5
* Show complete website/lnurl
6
+ * Scan images for sensitive content
7
+ * Make muting on feeds more strict
6
8
7
9
# 0.6.5
8
10
Original file line number Diff line number Diff line change 31
31
32
32
const context = new Map <string , Set <TrustedEvent >>()
33
33
34
- const shouldSkip = (event : TrustedEvent ) => {
35
- if (! showMuted && $isEventMuted (event , true )) return true
34
+ const shouldSkip = (event : TrustedEvent , strict : boolean ) => {
35
+ if (! showMuted && $isEventMuted (event , strict )) return true
36
36
if (! showDeleted && repository .isDeleted (event )) return true
37
37
if (hideReplies && getParentIdOrAddr (event )) return true
38
38
73
73
}
74
74
75
75
// Hide replies to deleted/muted parents
76
- if (shouldSkip (parent )) {
76
+ if (shouldSkip (parent , true )) {
77
77
return
78
78
}
79
79
114
114
115
115
const addEvents = async (events : TrustedEvent []) => {
116
116
for (const event of events ) {
117
- if (! shouldSkip (event )) {
117
+ if (! shouldSkip (event , false )) {
118
118
const promise = addEvent (event )
119
119
120
120
if (shouldAwait ) {
You can’t perform that action at this time.
0 commit comments