Skip to content

Commit

Permalink
fix user list error
Browse files Browse the repository at this point in the history
  • Loading branch information
szpnygo committed Oct 12, 2022
1 parent 5cc6ae3 commit 1db7681
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ gtc is a p2p terminal chat app, using webrtc. All conversation content will not
### Install

```bash
go install github.com/szpnygo/gtc@v0.2.0
go install github.com/szpnygo/gtc@v0.2.1
```

or you can download from release
Expand Down
2 changes: 1 addition & 1 deletion server/internal/logic/gtcserver/join_room_logic.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func (l *JoinRoomLogic) Handler(in *model.JoinRoom) {
session.BroadcastMessage(users, &model.LeaveRoomNotify{
RoomId: group.GetGroupName(l.ctx),
Name: in.Name,
Users: group.GetUsers(l.ctx),
Users: filterUid(group.GetUsers(l.ctx)),
}, nil)
})
}
Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.2.0
v0.2.1

0 comments on commit 1db7681

Please sign in to comment.