summaryrefslogtreecommitdiff
path: root/packages/backend/src/core/ChatService.ts
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2026-03-02 16:05:12 -0500
committerFreya Murphy <freya@freyacat.org>2026-03-02 17:39:38 -0500
commit284b87dae85a356dd543a03f81d12031b11f7554 (patch)
tree5df602a3d98fbf9a8f457fab3d749707bfd89cde /packages/backend/src/core/ChatService.ts
parentmerge: Release/2025.4.5 (!1258) (diff)
downloadsharkey-284b87dae85a356dd543a03f81d12031b11f7554.tar.gz
sharkey-284b87dae85a356dd543a03f81d12031b11f7554.tar.bz2
sharkey-284b87dae85a356dd543a03f81d12031b11f7554.zip
split url into webUrl and localUrl (like mastodon)
Diffstat (limited to 'packages/backend/src/core/ChatService.ts')
-rw-r--r--packages/backend/src/core/ChatService.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/backend/src/core/ChatService.ts b/packages/backend/src/core/ChatService.ts
index 9d294a80cb..968419c5e9 100644
--- a/packages/backend/src/core/ChatService.ts
+++ b/packages/backend/src/core/ChatService.ts
@@ -369,7 +369,7 @@ export class ChatService {
if (this.userEntityService.isLocalUser(toUser)) this.globalEventService.publishChatUserStream(message.toUserId, message.fromUserId, 'deleted', message.id);
if (this.userEntityService.isLocalUser(fromUser) && this.userEntityService.isRemoteUser(toUser)) {
- //const activity = this.apRendererService.addContext(this.apRendererService.renderDelete(this.apRendererService.renderTombstone(`${this.config.url}/notes/${message.id}`), fromUser));
+ //const activity = this.apRendererService.addContext(this.apRendererService.renderDelete(this.apRendererService.renderTombstone(`${this.config.webUrl}/notes/${message.id}`), fromUser));
//this.queueService.deliver(fromUser, activity, toUser.inbox);
}
} else if (message.toRoomId) {