From b41b9f8599b5359c1fbaf48317a905d155ff2032 Mon Sep 17 00:00:00 2001 From: Till Faelligen Date: Wed, 23 Mar 2022 08:51:21 +0100 Subject: [PATCH] Fix SendToDevice & copyrights --- clientapi/clientapi.go | 1 + federationapi/producers/syncapi.go | 2 +- internal/caching/cache_typing.go | 2 +- internal/caching/cache_typing_test.go | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/clientapi/clientapi.go b/clientapi/clientapi.go index 489040c6a..0ce3a1b36 100644 --- a/clientapi/clientapi.go +++ b/clientapi/clientapi.go @@ -58,6 +58,7 @@ func AddPublicRoutes( TopicSendToDeviceEvent: cfg.Matrix.JetStream.TopicFor(jetstream.OutputSendToDeviceEvent), TopicTypingEvent: cfg.Matrix.JetStream.TopicFor(jetstream.OutputTypingEvent), UserAPI: userAPI, + ServerName: cfg.Matrix.ServerName, } routing.Setup( diff --git a/federationapi/producers/syncapi.go b/federationapi/producers/syncapi.go index 4533ff73a..2a22b56f2 100644 --- a/federationapi/producers/syncapi.go +++ b/federationapi/producers/syncapi.go @@ -1,4 +1,4 @@ -// Copyright 2017 Vector Creations Ltd +// Copyright 2022 The Matrix.org Foundation C.I.C. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/internal/caching/cache_typing.go b/internal/caching/cache_typing.go index dc5a11ad9..3e24449c1 100644 --- a/internal/caching/cache_typing.go +++ b/internal/caching/cache_typing.go @@ -1,5 +1,5 @@ // Copyright 2017 Vector Creations Ltd -// Copyright 2017-2018 NewTypingCache Vector Ltd +// Copyright 2017-2018 New Vector Ltd // Copyright 2019-2020 The Matrix.org Foundation C.I.C. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/internal/caching/cache_typing_test.go b/internal/caching/cache_typing_test.go index 5dc044085..c03d89bc3 100644 --- a/internal/caching/cache_typing_test.go +++ b/internal/caching/cache_typing_test.go @@ -1,5 +1,5 @@ // Copyright 2017 Vector Creations Ltd -// Copyright 2017-2018 NewTypingCache Vector Ltd +// Copyright 2017-2018 New Vector Ltd // Copyright 2019-2020 The Matrix.org Foundation C.I.C. // // Licensed under the Apache License, Version 2.0 (the "License");