mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-03 12:13:09 -06:00
Fix unit test
This commit is contained in:
parent
9953df0e8b
commit
3d04895331
|
|
@ -34,6 +34,10 @@ func (d dummyDB) PresenceAfter(ctx context.Context, after types.StreamPosition)
|
||||||
return map[string]*types.PresenceInternal{}, nil
|
return map[string]*types.PresenceInternal{}, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (d dummyDB) RecentPresence(ctx context.Context) (map[string]*types.PresenceInternal, error) {
|
||||||
|
return map[string]*types.PresenceInternal{}, nil
|
||||||
|
}
|
||||||
|
|
||||||
func (d dummyDB) MaxStreamPositionForPresence(ctx context.Context) (types.StreamPosition, error) {
|
func (d dummyDB) MaxStreamPositionForPresence(ctx context.Context) (types.StreamPosition, error) {
|
||||||
return 0, nil
|
return 0, nil
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue