code: func (b *Bxmpp) skipMessage(message xmpp.Chat) bool {
  	// skip messages from ourselves
  	if b.parseNick(message.Remote) == b.GetString("Nick") {
  		return true
  	}
  
  	// skip empty messages
  	if message.Text == "" {
  		return true
  	}
  
  	// skip subject messages
  	if strings.Contains(message.Text, "</subject>") {
  		return true
  	}
  
  	// do not show subjects on connect #732
  	if strings.Contains(message.Text, "has set the subject to:") && time.Since(b.startTime) < time.Second*5 {
  		return true
  	}
  
  	// skip delayed messages
  	t := time.Time{}
  	return message.Stamp != t
  }
docs: // skipMessage skips messages that need to be skipped