feat(#1135): transient wake for matrix mcp events - bypass broker sqlite
This commit is contained in:
parent
aa91d0d30d
commit
a789c096e7
1 changed files with 1 additions and 0 deletions
|
|
@ -40,6 +40,7 @@ pub async fn send_wake(socket: &Path, body: impl AsRef<str>) -> Result<()> {
|
||||||
"cmd": "wake",
|
"cmd": "wake",
|
||||||
"from": "matrix",
|
"from": "matrix",
|
||||||
"body": body.as_ref(),
|
"body": body.as_ref(),
|
||||||
|
"transient": true,
|
||||||
});
|
});
|
||||||
let line = format!("{}\n", serde_json::to_string(&payload)?);
|
let line = format!("{}\n", serde_json::to_string(&payload)?);
|
||||||
let stream = UnixStream::connect(socket)
|
let stream = UnixStream::connect(socket)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue