From 343a1d67e9fc11797ced138a524d8fc798841108 Mon Sep 17 00:00:00 2001 From: Yusuke Nemoto Date: Thu, 10 Jan 2019 03:29:26 +0900 Subject: [PATCH] Add periods to docs (#10068) --- plugin/api.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugin/api.go b/plugin/api.go index b5c5a7be04..132c47a038 100644 --- a/plugin/api.go +++ b/plugin/api.go @@ -422,9 +422,9 @@ type API interface { KVList(page, perPage int) ([]string, *model.AppError) // PublishWebSocketEvent sends an event to WebSocket connections. - // event is the type and will be prepended with "custom__" - // payload is the data sent with the event. Interface values must be primitive Go types or mattermost-server/model types - // broadcast determines to which users to send the event + // event is the type and will be prepended with "custom__". + // payload is the data sent with the event. Interface values must be primitive Go types or mattermost-server/model types. + // broadcast determines to which users to send the event. PublishWebSocketEvent(event string, payload map[string]interface{}, broadcast *model.WebsocketBroadcast) // HasPermissionTo check if the user has the permission at system scope.