Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
or-else committed Jun 19, 2021
1 parent d2de4ac commit 745c012
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/topic.go
Original file line number Diff line number Diff line change
Expand Up @@ -1255,6 +1255,8 @@ func (t *Topic) subscriptionReply(asChan bool, join *sessionJoin) error {
// Then this name changes. Report back the original name here.
if msgsub.Created && join.pkt.Original != toriginal {
params["tmpname"] = join.pkt.Original
// The new123ABC name is no longer useful after this.
join.pkt.Original = toriginal
}

if len(params) == 0 {
Expand Down

0 comments on commit 745c012

Please sign in to comment.