When i try to go "offline", it seems status does not change.
(12:27:14) account: Disconnecting account user2|127.0.0.1 (0x55d7de6418d0)
(12:27:14) connection: Disconnecting connection 0x55d7dece3e50
(12:27:14) connection: Destroying connection 0x55d7dece3e50
(12:27:14) pidgin-libnotify: Updating status set from pidgin to 'offline'
this is what i see in mattermost UI,

the status remains same. it changes to "offline" after i refresh the page.