diff options
author | Tulir Asokan <tulir@maunium.net> | 2019-04-27 15:02:21 +0300 |
---|---|---|
committer | Tulir Asokan <tulir@maunium.net> | 2019-04-27 15:02:21 +0300 |
commit | bc7e2d9a1c871e3fbce932f9695fc24083bc2cc4 (patch) | |
tree | 89f104f59ee6aa33ea41140c8472ff5ba95f97a9 /matrix/sync.go | |
parent | 60e3fe392711ef233aa68a062a7ee96d145d2cb4 (diff) |
Add locks and other sync stuff
Diffstat (limited to 'matrix/sync.go')
-rw-r--r-- | matrix/sync.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/matrix/sync.go b/matrix/sync.go index e610b89..7f9c902 100644 --- a/matrix/sync.go +++ b/matrix/sync.go @@ -107,6 +107,8 @@ func NewGomuksSyncer(session SyncerSession) *GomuksSyncer { // ProcessResponse processes a Matrix sync response. func (s *GomuksSyncer) ProcessResponse(res *mautrix.RespSync, since string) (err error) { debug.Print("Received sync response") +// dat, _ := json.MarshalIndent(res, "", " ") +// debug.Print(string(dat)) s.processSyncEvents(nil, res.Presence.Events, EventSourcePresence) s.processSyncEvents(nil, res.AccountData.Events, EventSourceAccountData) |