diff options
author | Bence Ferdinandy <bence@ferdinandy.com> | 2024-04-13 13:39:51 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2024-04-14 11:51:03 +0200 |
commit | 805a29aef9320545ec113208df5a04e454ac7fb8 (patch) | |
tree | 0de6588f7b47776539ea7b96acf821778ca6c2eb /lib/history.go | |
parent | c70c63cbaac8bb78f7d541a2927789c3567ee0e0 (diff) | |
download | aerc-805a29aef9320545ec113208df5a04e454ac7fb8.tar.gz |
attach: use absolute paths instead of relative
Sometimes it is easier to change folders when adding attachments, but
currently we store relative paths, which doesn't work with this. Add the
absolute paths when attaching files.
Replace the current user home dir with ~ to make it prettier in the UI.
Implements: https://todo.sr.ht/~rjarry/aerc/134
Signed-off-by: Bence Ferdinandy <bence@ferdinandy.com>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'lib/history.go')
0 files changed, 0 insertions, 0 deletions