From 27745bacca790ba40ef4acd368514036e995a6f9 Mon Sep 17 00:00:00 2001 From: vslg Date: Thu, 16 Jul 2020 19:25:02 -0300 Subject: [PATCH] Fix not being able to unset status_msg --- src/backend/matrix_client.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/backend/matrix_client.py b/src/backend/matrix_client.py index 0dea3845..a88c5d22 100644 --- a/src/backend/matrix_client.py +++ b/src/backend/matrix_client.py @@ -1376,6 +1376,8 @@ class MatrixClient(nio.AsyncClient): account.save_presence = False if set_status_msg: + account.status_msg = status_msg + await super().set_presence( "offline" if presence == "invisible" else presence, status_msg,