user_leave_channel user_join_channel

This commit is contained in:
chanbook 2022-08-02 19:20:30 +08:00
parent 29a50e8919
commit 22ab8ad0b1
1 changed files with 2 additions and 0 deletions

View File

@ -44,6 +44,7 @@ public class EventServiceImpl implements EventService {
roomCache.remove(eventDto.getChannelName());
}
break;
case user_join_channel_with_communication_mode:
case broadcaster_join_channel: {
AgoraChannelUserEventDto eventDto = dto.convert(AgoraChannelUserEventDto.class);
User user = userMapper.selectById(eventDto.getUid());
@ -58,6 +59,7 @@ public class EventServiceImpl implements EventService {
.build());
}
break;
case user_leave_channel_with_communication_mode:
case broadcaster_leave_channel:
case audience_leave_channel: {
AgoraChannelUserEventDto eventDto = dto.convert(AgoraChannelUserEventDto.class);