Fix infiniteloop

This commit is contained in:
Mark Haines 2017-06-06 17:16:20 +01:00
parent dc49027f16
commit 646ed87752

View file

@ -113,7 +113,7 @@ func (t *txnReq) processTransaction() (*gomatrixserverlib.RespSend, error) {
type unknownRoomError string
func (e unknownRoomError) Error() string { return fmt.Sprintf("unknown room %q", e) }
func (e unknownRoomError) Error() string { return fmt.Sprintf("unknown room %q", string(e)) }
func (t *txnReq) processEvent(e gomatrixserverlib.Event) error {
refs := e.PrevEvents()