add message comment

This commit is contained in:
Asim Aslam 2019-09-04 12:18:37 +01:00
parent 0075477df0
commit 7ab3934eb7

View File

@ -91,6 +91,7 @@ func (s *session) Channel() string {
return s.channel return s.channel
} }
// newMessage creates a new message based on the session
func (s *session) newMessage(typ string) *message { func (s *session) newMessage(typ string) *message {
return &message{ return &message{
typ: typ, typ: typ,