Skip to content

Commit

Permalink
Merge branch 'master' into justinegeffen-new-marketplace-content
Browse files Browse the repository at this point in the history
  • Loading branch information
justinegeffen authored Sep 6, 2021
2 parents a3d66e3 + 4f7bb91 commit c522f0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/content/integrate/apps/bindings/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Bindings ([godoc](https://pkg.go.dev/github.com/mattermost/mattermost-plugin-app
- The ID of the channel the user is currently focused on
- The ID of the post the user is currently focused on (if applicable)

**Note:** When an OAuth2 process is completed, the client's bindings are automatically refreshed. For any other case where bindings need to be refreshed, the user will need to switch channels (which always fetches new bindings), or refresh the page.
**Note:** Bindings are fetched (and refreshed) on every channel switch. When the user moves to a different context (like opening a thread, or a post in a search view) new bindings may be fetched to provide the correct bindings for the thread/post context. Bindings are also fetched when an OAuth2 process is completed and when the application gets installed.

One example bindings response is the one from the [Hello World!](https://github.com/mattermost/mattermost-plugin-apps/blob/master/examples/go/hello-world/bindings.json) app.

Expand Down

0 comments on commit c522f0c

Please sign in to comment.