mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-03-21 17:14:28 -05:00
Sync API consumer
This commit is contained in:
parent
3122ddd3b3
commit
2e438f9d2c
|
@ -365,7 +365,7 @@ func (s *OutputRoomEventConsumer) notifyJoinedPeeks(ctx context.Context, ev *gom
|
||||||
if membership == gomatrixserverlib.Join {
|
if membership == gomatrixserverlib.Join {
|
||||||
// check it's a local join
|
// check it's a local join
|
||||||
if _, _, err := s.cfg.Matrix.SplitLocalID('@', *ev.StateKey()); err != nil {
|
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
|
// cancel any peeks for it
|
||||||
|
|
Loading…
Reference in a new issue