feat: finalize matrix platform audit and docs
This commit is contained in:
parent
6422c7db58
commit
4524a6abc8
30 changed files with 3093 additions and 176 deletions
|
|
@ -41,12 +41,7 @@ def build_workspace_attachment_path(
|
|||
safe_room = _sanitize_component(room_id.lstrip("!"))
|
||||
safe_name = _sanitize_component(filename) or "attachment.bin"
|
||||
relative_path = (
|
||||
Path("surfaces")
|
||||
/ "matrix"
|
||||
/ safe_user
|
||||
/ safe_room
|
||||
/ "inbox"
|
||||
/ f"{stamp}-{safe_name}"
|
||||
Path("surfaces") / "matrix" / safe_user / safe_room / "inbox" / f"{stamp}-{safe_name}"
|
||||
)
|
||||
return relative_path.as_posix(), workspace_root / relative_path
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue