0
0
Fork 0
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:
Jason Volk 2018-02-16 13:28:45 -08:00
parent bd6d0903a8
commit 06e33f40a1

View file

@ -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