Skip to content

Commit e125609

Browse files
committed
Address copilot comments
1 parent 0dc201a commit e125609

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

source/deployment-guide/mobile/mobile-troubleshooting.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,13 +143,13 @@ If you did not receive a push notification when testing push notifications, use
143143
- If the log message displays, it means a message was sent to the HPNS server and was not received by your mobile app. Please `create a support ticket <https://support.mattermost.com/hc/en-us/requests/new>`_ with the subject "HPNS issue" for help from Mattermost's Support team.
144144
- If the log message does not display, it means no mobile push notification was sent to “Account A”. Please repeat the process starting at step 2 and double-check each step.
145145

146+
If push notifications are not being delivered on the mobile device, confirm that you're logged in to the **Native** mobile app session through **Profile > Security > View and Log Out of Active Sessions**. Otherwise, the `DeviceId` won't get registered in the `Sessions` table and notifications won't be delivered.
147+
146148
.. important::
147149

148150
To conserve disk space, once your push notification issue is resolved, go to **System Console > Environment > Logging > File Log Level**, then select **ERROR** to switch your logging detail level from **DEBUG** to **Errors Only**.
149151

150152
Integration posts (MM Blocks) do not render or respond
151153
----------------------------------------------------
152154

153-
If buttons, menus, or structured layout content from an integration post is missing or unresponsive on mobile, see :doc:`Troubleshoot MM Blocks </get-help/mm-blocks-troubleshooting>`.
154-
155-
If push notifications are not being delivered on the mobile device, confirm that you're logged in to the **Native** mobile app session through **Profile > Security > View and Log Out of Active Sessions**. Otherwise, the `DeviceId` won't get registered in the `Sessions` table and notifications won't be delivered.
155+
If buttons, menus, or structured layout content from an integration post is missing or unresponsive on mobile, see :doc:`Troubleshoot MM Blocks </get-help/mm-blocks-troubleshooting>`.

source/end-user-guide/access/client-availability.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ Integrations
160160
| `Right-hand sidebar <https://developers.mattermost.com/integrate/reference/server/server-reference/>`_ | |checkmark| | |checkmark| | |
161161
+-----------------------------------------------------------------------------------------------------------------+-------------+-------------+-----------------+
162162

163-
.. [1] Requires the ``MmBlocksEnabled`` feature flag on the Mattermost server. When disabled, clients do not render native ``mm_blocks`` payloads and the server rejects MM Blocks action requests. Self-hosted deployments can set ``MM_FEATUREFLAGS_MMBLOCKSENABLED=false`` to turn the feature off. See :doc:`MM Blocks </integrations-guide/mm-blocks>` for details.
163+
.. [1] Requires ``MM_FEATUREFLAGS_MMBLOCKSENABLED`` to be enabled on the Mattermost server (defaults to ``true``). When set to ``false``, clients do not render native ``mm_blocks`` payloads and the server rejects MM Blocks action requests. See :doc:`MM Blocks </integrations-guide/mm-blocks>` for details.
164164
165165
Authentication
166166
~~~~~~~~~~~~~~

source/get-help/mm-blocks-troubleshooting.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ MM Blocks content does not appear
1515

1616
1. **Update your client.** MM Blocks require a current Mattermost web, desktop, or mobile app. See :doc:`client availability </end-user-guide/access/client-availability>` for platform support.
1717
2. **Confirm the integration payload.** The post must include a non-empty ``props.mm_blocks`` array (or a legacy format such as message attachments that the client translates). Ask your integration owner or system admin to verify the webhook or bot payload.
18-
3. **Check the feature flag (system admins).** Self-hosted deployments can disable MM Blocks with the ``MmBlocksEnabled`` feature flag. When disabled, native MM Blocks payloads are not rendered and their actions are rejected. See :doc:`MM Blocks </integrations-guide/mm-blocks>` for details.
18+
3. **Check the feature flag (system admins).** Self-hosted deployments can disable MM Blocks by setting ``MM_FEATUREFLAGS_MMBLOCKSENABLED=false``. When disabled, native MM Blocks payloads are not rendered and their actions are rejected. See :doc:`MM Blocks </integrations-guide/mm-blocks>` for details.
1919
4. **Reload the channel.** Pull to refresh on mobile, or switch channels and return, to fetch the latest post data.
2020

2121
Buttons or menus do not respond

source/integrations-guide/mm-blocks.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Interactive posts combine:
2020

2121
When a post is created, the server encrypts ``props.mm_blocks_actions`` into a single cookie string before the post is sent to clients. Users interact with buttons and menus in the channel; Mattermost calls your integration and can update the post or return an ephemeral reply.
2222

23-
MM Blocks are supported on web, desktop, and mobile clients. Availability is controlled by the ``MmBlocksEnabled`` `feature flag <https://developers.mattermost.com/contribute/more-info/server/feature-flags/>`_, which defaults to ``true``. Self-hosted deployments can set ``MM_FEATUREFLAGS_MMBLOCKSENABLED=false`` to disable rendering and action dispatch for MM Blocks payloads.
23+
MM Blocks are supported on web, desktop, and mobile clients. Availability is controlled by the ``MM_FEATUREFLAGS_MMBLOCKSENABLED`` `feature flag <https://developers.mattermost.com/contribute/more-info/server/feature-flags/>`_ (defaults to ``true``). Set ``MM_FEATUREFLAGS_MMBLOCKSENABLED=false`` on self-hosted deployments to disable rendering and action dispatch for MM Blocks payloads.
2424

2525
Quick start
2626
-----------
@@ -73,7 +73,7 @@ Post properties
7373
* - ``props.mm_blocks_actions``
7474
- Object keyed by ``action_id``. Each value defines how Mattermost handles a button press or menu selection. Replaced on the wire by an encrypted cookie after the post is saved.
7575

76-
You can include ``props.mm_blocks`` and ``props.mm_blocks_actions`` in any payload that supports a ``props`` object, including :doc:`incoming webhooks </integrations-guide/incoming-webhooks>`, :doc:`outgoing webhook </integrations-guide/outgoing-webhooks>` responses, slash command responses, bot posts, and ephemeral posts created through the API.
76+
You can include ``props.mm_blocks`` and ``props.mm_blocks_actions`` in any payload that supports a ``props`` object, including :doc:`incoming webhooks </integrations-guide/incoming-webhooks>`, :doc:`outgoing webhooks </integrations-guide/outgoing-webhooks>` responses, slash command responses, bot posts, and ephemeral posts created through the API.
7777

7878
Block types
7979
-----------

0 commit comments

Comments
 (0)