forked from jshiffer/go-xmpp
Clean-up: remove test/debug code
This commit is contained in:
committed by
Mickaël Rémond
parent
3de99e0e0e
commit
2e864ff7f6
+1
-1
@@ -270,7 +270,7 @@ func (s *Session) EnableStreamManagement(o Config) {
|
||||
case stanza.SMEnabled:
|
||||
s.SMState = SMState{Id: p.Id}
|
||||
case stanza.SMFailed:
|
||||
// TODO: Store error in SMState
|
||||
// TODO: Store error in SMState, for later inspection
|
||||
default:
|
||||
fmt.Println(p)
|
||||
s.err = errors.New("unexpected reply to SM enable")
|
||||
|
||||
Reference in New Issue
Block a user