File tree 2 files changed +8
-1
lines changed
2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,9 @@ Version 0.1.1
6
6
7
7
To be released.
8
8
9
+ - Fixed a bug where direct and followers-only messages that reply to a bot
10
+ had been forwarded to the bot's followers.
11
+
9
12
10
13
Version 0.1.0
11
14
-------------
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