Skip to content

Commit

Permalink
add email log for mux mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Gondnat committed Jul 1, 2019
1 parent 331a3ef commit b8f7d9c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions common/mux/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ func (w *ServerWorker) handleStatusNew(ctx context.Context, meta *FrameMetadata,
}
if inbound := session.InboundFromContext(ctx); inbound != nil && inbound.Source.IsValid() {
msg.From = inbound.Source
msg.Email = inbound.User.Email
}
log.Record(msg)
}
Expand Down

0 comments on commit b8f7d9c

Please sign in to comment.