Przeglądaj źródła

Don't stop message processing loop if room creation fails

Tulir Asokan 4 lat temu
rodzic
commit
30ddd788ae
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      portal.go

+ 1 - 1
portal.go

@@ -228,7 +228,7 @@ func (portal *Portal) handleMessageLoop() {
 			err := portal.CreateMatrixRoom(msg.source)
 			if err != nil {
 				portal.log.Errorln("Failed to create portal room:", err)
-				return
+				continue
 			}
 			portal.syncDoublePuppetDetailsAfterCreate(msg.source)
 		}