aboutsummaryrefslogtreecommitdiff
path: root/matrix/sync.go
diff options
context:
space:
mode:
Diffstat (limited to 'matrix/sync.go')
-rw-r--r--matrix/sync.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/matrix/sync.go b/matrix/sync.go
index fdf2d4b..85de68c 100644
--- a/matrix/sync.go
+++ b/matrix/sync.go
@@ -99,6 +99,7 @@ func NewGomuksSyncer(rooms *rooms.RoomCache) *GomuksSyncer {
rooms: rooms,
listeners: make(map[event.Type][]EventHandler),
FirstSyncDone: false,
+ Progress: StubSyncingModal{},
}
}
@@ -138,6 +139,7 @@ func (s *GomuksSyncer) ProcessResponse(res *mautrix.RespSync, since string) (err
}
wait.Wait()
+ s.Progress.SetMessage("Finishing sync")
if since == "" && s.InitDoneCallback != nil {
s.InitDoneCallback()