1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-11-28 14:58:29 +09:00
This commit is contained in:
NoriDev 2023-05-29 21:37:23 +09:00
parent 4bd59a017e
commit daff447465

View File

@ -290,9 +290,9 @@ export default class Connection {
private typingOnMessaging(param: { partner?: User['id']; group?: UserGroup['id']; }) {
if (this.user) {
if (param.partner) {
this.globalEventService.publishMessagingStream(param.partner, this.user.id, 'typing', this.user.id);
// this.globalEventService.publishMessagingStream(param.partner, this.user.id, 'typing', this.user.id);
} else if (param.group) {
this.globalEventService.publishGroupMessagingStream(param.group, 'typing', this.user.id);
// this.globalEventService.publishGroupMessagingStream(param.group, 'typing', this.user.id);
}
}
}