~samwhited/xmpp

446fe1a77a7e2c5c81efd4e58394f7df9e49aed5 — Sam Whited 4 years ago b8d4b07
Add temporary panic to unimplemented Send branch
1 files changed, 2 insertions(+), 0 deletions(-)

M session.go
M session.go => session.go +2 -0
@@ 111,6 111,8 @@ func (s *Session) Send(v interface{}) error {
		}
		val.FieldByName("IQ").Set(reflect.ValueOf(iq))
		v = val.Interface()
	default:
		panic("xmpp: not yet implemented")
	}

	return s.out.e.Encode(v)