File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -152,12 +152,13 @@ export class SessionImpl<TContextData> implements Session<TContextData> {
152
152
} while ( await kv . get ( lockKey ) !== id ) ;
153
153
const preferSharedInbox = visibility === "public" ||
154
154
visibility === "unlisted" || visibility === "followers" ;
155
+ const excludeBaseUris = [ new URL ( this . context . origin ) ] ;
155
156
if ( preferSharedInbox ) {
156
157
await this . context . sendActivity (
157
158
this . bot ,
158
159
"followers" ,
159
160
activity ,
160
- { preferSharedInbox } ,
161
+ { preferSharedInbox, excludeBaseUris } ,
161
162
) ;
162
163
}
163
164
if ( mentionedActorIds . length > 0 ) {
@@ -184,7 +185,7 @@ export class SessionImpl<TContextData> implements Session<TContextData> {
184
185
this . bot ,
185
186
mentionedActors ,
186
187
activity ,
187
- { preferSharedInbox } ,
188
+ { preferSharedInbox, excludeBaseUris } ,
188
189
) ;
189
190
}
190
191
return await createMessage ( msg , this , options . replyTarget ) ;
You can’t perform that action at this time.
0 commit comments