mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-01 03:03:10 -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
|
||||
}
|
||||
|
||||
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) {
|
||||
return 0, nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue