>>> client.set_status("@sibyl:localhost", "test and stuff")
>>> client.get_status("@sibyl:localhost")
{'user_id': '@sibyl:localhost', 'presence': 'online', 'status_msg': 'test and stuff', 'last_active_ago': 1836, 'currently_active': True}
>>> client.get_status("@sibyl:localhost")
{'user_id': '@sibyl:localhost', 'presence': 'online', 'status_msg': 'test and stuff', 'last_active_ago': 11886, 'currently_active': True}
>>> client.get_status("@sibyl:localhost")
{'user_id': '@sibyl:localhost', 'presence': 'online', 'status_msg': 'test and stuff', 'last_active_ago': 22203, 'currently_active': True}
>>> client.get_status("@sibyl:localhost")
{'user_id': '@sibyl:localhost', 'presence': 'online', 'status_msg': 'test and stuff', 'last_active_ago': 34950, 'currently_active': True}
>>> client.get_status("@sibyl:localhost")
{'user_id': '@sibyl:localhost', 'presence': 'online', 'status_msg': 'test and stuff', 'last_active_ago': 52767, 'currently_active': True}
>>> client.get_status("@sibyl:localhost")
{'user_id': '@sibyl:localhost', 'presence': 'offline', 'last_active_ago': 69343}
My status_msg appears to be overwritten when my status changes to "offline" due to inactivity. Needless to say, this makes status_msg not so useful.
I was testing the status and presence features of Matrix, and noticed this:
My status_msg appears to be overwritten when my status changes to "offline" due to inactivity. Needless to say, this makes status_msg not so useful.
This is using matrix-python-sdk (with my presence changes), and the only active client at the time for that user was the SDK I was using to enter those function calls above.