File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ func main() {
9292 routerChannel := newRouter (matrixClient , config .Conference )
9393
9494 // Start matrix client sync. This function will block until the sync fails.
95- matrixClient .RunSync (func (e * event.Event ) {
95+ matrixClient .RunSyncing (func (e * event.Event ) {
9696 routerChannel <- e
9797 })
9898}
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ func NewMatrixClient(config Config) *MatrixClient {
3535
3636// Starts the Matrix client and connects to the homeserver,
3737// Returns only when the sync with Matrix fails.
38- func (m * MatrixClient ) RunSync (callback func (* event.Event )) {
38+ func (m * MatrixClient ) RunSyncing (callback func (* event.Event )) {
3939 syncer , ok := m .client .Syncer .(* mautrix.DefaultSyncer )
4040 if ! ok {
4141 logrus .Panic ("Syncer is not DefaultSyncer" )
You can’t perform that action at this time.
0 commit comments