From 78440083dfc8f522e55f11f0fce0f3ea4a103f0b Mon Sep 17 00:00:00 2001 From: Anant Prakash Date: Thu, 7 Jun 2018 19:30:04 +0530 Subject: [PATCH] Add AS dummy device ID (#487) Signed-off-by: Anant Prakash --- .../dendrite/appservice/types/types.go | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/github.com/matrix-org/dendrite/appservice/types/types.go diff --git a/src/github.com/matrix-org/dendrite/appservice/types/types.go b/src/github.com/matrix-org/dendrite/appservice/types/types.go new file mode 100644 index 000000000..3e702165b --- /dev/null +++ b/src/github.com/matrix-org/dendrite/appservice/types/types.go @@ -0,0 +1,18 @@ +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package types + +const ( + // AppServiceDeviceID is the AS dummy device ID + AppServiceDeviceID = "AS_Device" +)