matrix-screenshot.ps1 remove trailing newline in clipboard

master
lub 4 years ago
parent 4dfc24132c
commit 02b9a473bc

@ -62,7 +62,7 @@ $serverName = $media.content_uri.Split('/')[2]
$mediaId = $media.content_uri.Split('/')[3]
$mediaUrl = '{0}/_matrix/media/r0/download/{1}/{2}' -f $homeserverUrl,$serverName,$mediaId
$mediaUrl | wl-copy
$mediaUrl | wl-copy --trim-newline
if ($roomId) {
$eventSplat = @{

Loading…
Cancel
Save