aboutsummaryrefslogtreecommitdiff
path: root/syncapi/streams/stream_pdu.go
diff options
context:
space:
mode:
authorkegsay <kegan@matrix.org>2022-05-05 09:56:03 +0100
committerGitHub <noreply@github.com>2022-05-05 09:56:03 +0100
commitd86dcbef66dad344bc38c58762a9634ff126d5c7 (patch)
treea8c95692a64a6303e02911c9a2d6b00fec3c84c8 /syncapi/streams/stream_pdu.go
parent3c940c428d529476b6fa2cbf1ba28d53ec011584 (diff)
syncapi: define specific interfaces for internal HTTP communications (#2416)
* syncapi: use finer-grained interfaces when making the syncapi * Use specific interfaces for syncapi-roomserver interactions * Define query access token api for shared http auth code
Diffstat (limited to 'syncapi/streams/stream_pdu.go')
-rw-r--r--syncapi/streams/stream_pdu.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/syncapi/streams/stream_pdu.go b/syncapi/streams/stream_pdu.go
index 0d033095..f774a1af 100644
--- a/syncapi/streams/stream_pdu.go
+++ b/syncapi/streams/stream_pdu.go
@@ -33,7 +33,7 @@ type PDUStreamProvider struct {
workers atomic.Int32
// userID+deviceID -> lazy loading cache
lazyLoadCache *caching.LazyLoadCache
- rsAPI roomserverAPI.RoomserverInternalAPI
+ rsAPI roomserverAPI.SyncRoomserverAPI
}
func (p *PDUStreamProvider) worker() {