api docs: Clarify how mention flags can change.

The previous description didn't make clear that you can edit a message
to add a mention.

Also, adjust indentation to be the normal 4-space style we use for HTML.
This commit is contained in:
Tim Abbott
2021-05-26 11:57:44 -07:00
parent 55f30458e1
commit 7d1db086c3

View File

@@ -58,7 +58,9 @@ More examples and documentation can be found [here](https://github.com/zulip/zul
Whether the current user Whether the current user
<a href="/help/mention-a-user-or-group">was mentioned</a> <a href="/help/mention-a-user-or-group">was mentioned</a>
by this message, either directly or via a user by this message, either directly or via a user
group. Not editable. group. Cannot be changed by the user directly, but
can change if the message is edited to add/remove
a mention of the current user.
</td> </td>
</tr> </tr>
<tr> <tr>
@@ -66,7 +68,9 @@ More examples and documentation can be found [here](https://github.com/zulip/zul
<td> <td>
Whether this message contained Whether this message contained
<a href="/help/mention-a-user-or-group#mention-everyone-on-a-stream">wildcard mention</a> <a href="/help/mention-a-user-or-group#mention-everyone-on-a-stream">wildcard mention</a>
like @**all**. Not editable. like @**all**. Cannot be changed by the user directly, but
can change if the message is edited to add/remove
a wildcard mention.
</td> </td>
</tr> </tr>
<tr> <tr>
@@ -74,7 +78,9 @@ More examples and documentation can be found [here](https://github.com/zulip/zul
<td> <td>
Whether the message contains any of the current user's Whether the message contains any of the current user's
<a href="/help/add-an-alert-word">configured alert words</a>. <a href="/help/add-an-alert-word">configured alert words</a>.
Not editable. Cannot be changed by the user directly, but
can change if the message is edited to add/remove
one of the current user's alert words.
</td> </td>
</tr> </tr>
<tr> <tr>
@@ -84,8 +90,8 @@ More examples and documentation can be found [here](https://github.com/zulip/zul
at the time they were sent but later was added to at the time they were sent but later was added to
the user's history (E.g. because they starred or the user's history (E.g. because they starred or
reacted to a message sent to a public stream reacted to a message sent to a public stream
before they subscribed to that stream). Not before they subscribed to that stream). Cannot be
editable. changed by the user directly.
</td> </td>
</tr> </tr>
</tbody> </tbody>