mirror of
https://github.com/matrix-construct/construct
synced 2024-05-20 11:53:46 +02:00
modules/client/sync/to_device: Fix to_device linear sync handler.
This commit is contained in:
parent
5baf053423
commit
c3d5f6d45d
|
@ -58,9 +58,14 @@ ircd::m::sync::to_device_linear(data &data)
|
|||
if(device_id != "*" && device_id != data.device_id)
|
||||
return false;
|
||||
|
||||
json::stack::object to_device
|
||||
{
|
||||
*data.out, "to_device"
|
||||
};
|
||||
|
||||
json::stack::array array
|
||||
{
|
||||
*data.out, "events"
|
||||
to_device, "events"
|
||||
};
|
||||
|
||||
_to_device_append(data, content, array);
|
||||
|
|
Loading…
Reference in a new issue