Skip to content

Commit

Permalink
Be more explicit about bindings fetching (#930)
Browse files Browse the repository at this point in the history
* Update _index.md

* Update site/content/integrate/apps/bindings/_index.md

Co-authored-by: Justine Geffen <justinegeffen@users.noreply.github.com>

Co-authored-by: Justine Geffen <justinegeffen@users.noreply.github.com>
  • Loading branch information
larkox and justinegeffen authored Sep 6, 2021
1 parent cb7f962 commit 4f7bb91
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 4f7bb91

Please sign in to comment.