mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 18:22:50 +01:00
modules/client/presence: Dup the user_id in the content for now: simpler on out-side.
This commit is contained in:
parent
bd6d0903a8
commit
06e33f40a1
1 changed files with 3 additions and 2 deletions
|
@ -64,9 +64,10 @@ put__presence_status(client &client,
|
|||
};
|
||||
|
||||
json::iov content;
|
||||
const json::iov::push _presence
|
||||
const json::iov::push _presence[]
|
||||
{
|
||||
content, { "presence", presence }
|
||||
{ content, { "presence", presence } },
|
||||
{ content, { "user_id", user_id } },
|
||||
};
|
||||
|
||||
const json::iov::set_if _status_msg
|
||||
|
|
Loading…
Reference in a new issue