Sync API consumer

This commit is contained in:
Neil Alexander 2022-11-14 14:18:24 +00:00
parent 3122ddd3b3
commit 2e438f9d2c
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -365,7 +365,7 @@ func (s *OutputRoomEventConsumer) notifyJoinedPeeks(ctx context.Context, ev *gom
if membership == gomatrixserverlib.Join {
// check it's a local join
if _, _, err := s.cfg.Matrix.SplitLocalID('@', *ev.StateKey()); err != nil {
return sp, fmt.Errorf("gomatrixserverlib.SplitID: %w", err)
return sp, nil
}
// cancel any peeks for it