mirror of
https://github.com/hexastack/hexabot
synced 2025-05-03 04:21:13 +00:00
fix: remove duplicate emitted event 'new_user'
This commit is contained in:
parent
5d1793cce8
commit
40b0a605a2
@ -258,7 +258,6 @@ export class ChatService {
|
||||
|
||||
if (!subscriber) {
|
||||
const subscriberData = await handler.getSubscriberData(event);
|
||||
this.eventEmitter.emit('hook:stats:entry', 'new_users', 'New users');
|
||||
subscriberData.channel = event.getChannelData();
|
||||
subscriber = await this.subscriberService.create(subscriberData);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user