...
Mattermost Implementation
online
away
offline
do not disturb
We currently have a system to update a user’s status that uses a boolean flag manual
to represent that it is a manual action by the user that is changing the status. These manual actions always override whatever the current status is. The plugin API method UpdateUserStatus
automatically uses the manual=true
for the value of the flag, so it is the same as user manually doing it as far as the status handling is concerned.
...