Add required method to testEDUProducer

This commit is contained in:
Till Faelligen 2020-10-15 09:54:33 +02:00
parent fe418f2fc8
commit 5f9ac44062

View file

@ -76,6 +76,14 @@ func (p *testEDUProducer) InputSendToDeviceEvent(
return nil return nil
} }
func (o *testEDUProducer) InputReceiptEvent(
ctx context.Context,
request *eduAPI.InputReceiptEventRequest,
response *eduAPI.InputReceiptEventResponse,
) error {
return nil
}
type testRoomserverAPI struct { type testRoomserverAPI struct {
inputRoomEvents []api.InputRoomEvent inputRoomEvents []api.InputRoomEvent
queryMissingAuthPrevEvents func(*api.QueryMissingAuthPrevEventsRequest) api.QueryMissingAuthPrevEventsResponse queryMissingAuthPrevEvents func(*api.QueryMissingAuthPrevEventsRequest) api.QueryMissingAuthPrevEventsResponse