View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/566 Approved-by: Tess K <me@thvxl.se> Approved-by: fEmber <acomputerdog@gmail.com>
This commit is contained in:
commit
712af44de4
3 changed files with 14 additions and 0 deletions
|
|
@ -135,6 +135,7 @@ export interface NoteEventTypes {
|
|||
};
|
||||
replied: {
|
||||
id: MiNote['id'];
|
||||
userId: MiUser['id'];
|
||||
};
|
||||
}
|
||||
type NoteStreamEventTypes = {
|
||||
|
|
|
|||
|
|
@ -831,6 +831,7 @@ export class NoteCreateService implements OnApplicationShutdown {
|
|||
if (data.reply) {
|
||||
this.globalEventService.publishNoteStream(data.reply.id, 'replied', {
|
||||
id: note.id,
|
||||
userId: user.id,
|
||||
});
|
||||
// 通知
|
||||
if (data.reply.userHost === null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue