Show correct from/to info in mailboxes
Closes #603 (closed)
What does this MR do?
Following !1228 (merged)
Shows the correct sender or recipient for mails in a mailbox. Since mails in the trash contain no information about whether they were sent or received, this compares the mail addresses now. That's probably not the most elegant way but the only one I could think of without the necessity of adding new Db columns.
How confident are you it won't break things if deployed?
Seems to works locally, but I'm not perfectly sure. Needs some more testing especially for the trash folder.
Links to related issues
Checklist
-
added a test, or explain why one is not needed/possible... not sure how to test this -
no unrelated changes -
asked someone for a code review -
joined #foodsharing-beta channel at https://slackin.yunity.org -
added an entry to CHANGELOG.md (description, merge request link, username(s)) -
Once your MR has been merged, you are responsible to update the #foodsharing-beta Slack channel about what has been changed here. They will test your work in different browsers, roles or other settings
Edited by Alex