File tree Expand file tree Collapse file tree 4 files changed +16
-3
lines changed Expand file tree Collapse file tree 4 files changed +16
-3
lines changed Original file line number Diff line number Diff line change 40
40
needs : [test]
41
41
runs-on : ubuntu-latest
42
42
permissions :
43
- contents : read
43
+ contents : write
44
44
id-token : write
45
45
steps :
46
46
- uses : actions/checkout@v4
Original file line number Diff line number Diff line change @@ -7,6 +7,15 @@ Version 0.2.0
7
7
To be released.
8
8
9
9
10
+ Version 0.1.1
11
+ -------------
12
+
13
+ Released on February 10, 2025.
14
+
15
+ - Fixed a bug where direct and followers-only messages that reply to a bot
16
+ had been forwarded to the bot's followers.
17
+
18
+
10
19
Version 0.1.0
11
20
-------------
12
21
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ to turn it on in your *deno.json* settings:
57
57
~~~~ json [deno.json] {5}
58
58
{
59
59
"imports" : {
60
- "@fedify/botkit" : " jsr:@fedify/botkit@0.1.0 "
60
+ "@fedify/botkit" : " jsr:@fedify/botkit@0.1.1 "
61
61
},
62
62
"unstable" : [" temporal" ]
63
63
}
Original file line number Diff line number Diff line change @@ -633,7 +633,11 @@ export class BotImpl<TContextData> implements Bot<TContextData> {
633
633
messageClasses . includes ( replyTarget . class )
634
634
) {
635
635
const message = await getMessage ( ) ;
636
- await ctx . forwardActivity ( this , "followers" ) ;
636
+ if (
637
+ message . visibility === "public" || message . visibility === "unlisted"
638
+ ) {
639
+ await ctx . forwardActivity ( this , "followers" ) ;
640
+ }
637
641
await this . onReply ( session , message ) ;
638
642
}
639
643
for await ( const tag of object . getTags ( ctx ) ) {
You can’t perform that action at this time.
0 commit comments