<table><tr><td style="">nicolasfella edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-ky3wlbg2364bed3/" rel="noreferrer">(Show Details)</a>
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D7146" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;"><span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">>If I go to /tmp/kdeconnect I get to see which friends messaged me. This is wrong because this is personal data:<br />
>- some people encrypt their home folder because of such privacy concerns<br />
>- on shared systems one would get to see their each other's acquaintances<br />
<br />
This would be an easy fix. However, we should consider different approaches. Here are my thoughts on this:<br />
<br />
Using this revision would likely be Linux- (or Unix-) only.<br />
<br />
QT doc says about QDir::temp(): <br />
<br />
>On Unix/Linux systems this is the path in the TMPDIR environment variable or /tmp if TMPDIR is not defined. On Windows this is usually the path in the TEMP or TMP environment variable.<br />
<br />
This would portable, but we have no control over which directory is chosen and we don't like the default. This would give the user the choice, but I don't think many will care.<br />
<br />
I thought about storing the icons in memory only when I worked on the notification icons the first time, but I could not make it work because the only way I managed to access the payload was through a FiletransferJob. We could delete the files right after loading them to memory, but it might be useful one day to have them on the disk.<br />
<br />
> Every plugin has a storage directory available to it. Maybe we can use that?<br />
@albertvaka Can you give me an example on how to access it?<br />
<br />
What do you guys think about this?</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">BUG: 383144</span></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R224 KDE Connect</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D7146" rel="noreferrer">https://phabricator.kde.org/D7146</a></div></div><br /><div><strong>To: </strong>nicolasfella, KDE Connect, apol, albertvaka<br /><strong>Cc: </strong>thomasp, apol, KDE Connect, albertvaka, SemperPeritus, ahmedbesbes, daniel.z.tg, jeanv, tfella, aboudhar, seebauer, bugzy, progwolff, MayeulC, menasshock, ach<br /></div>