diff options
-rw-r--r-- | lib/pleroma/web/matrix_controller.ex | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/pleroma/web/matrix_controller.ex b/lib/pleroma/web/matrix_controller.ex index c7584046b..11cb57142 100644 --- a/lib/pleroma/web/matrix_controller.ex +++ b/lib/pleroma/web/matrix_controller.ex @@ -284,7 +284,14 @@ defmodule Pleroma.Web.MatrixController do leave: %{} }, account_data: %{ - events: [] + events: [ + %{ + type: "m.direct", + content: %{ + matrix_name(user) => Map.keys(chats) + } + } + ] }, presence: %{ events: [] |