Skip to content

Commit 78e9e99

Browse files
minor: rename RunSync -> RunSyncing()
1 parent 2829682 commit 78e9e99

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
}

pkg/signaling/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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")

0 commit comments

Comments
 (0)