Skip to content

Commit

Permalink
remove email-address unconditionally from title (#2447)
Browse files Browse the repository at this point in the history
* remove email-address unconditionally from title

the email-address was removed for guaranteed-e2ee chats quite a while ago
(deltachat/deltachat-android#2916)
reason was, among others, that these addresses are often chatmail and therefore random.
(despite expecting otherwise, that was fine for most users).

this PR removes the email-adress unconditionally:

- having the email-address sometimes shown and sometimes not is confusing,
  and easily looks like a bug.
  this has become worse with the added vcard-support
  (before, there were rare non-guaranteed chats in chatmail) -
  resulting in more random addresses being shown

- _always_ protect against over-the-shoulder attacks

- better privacy in screenshots sent around without thinking much before
  (cmp. #2329)

- wrt impersonation attacks:
  the pure email address in the subtitle did never protect against impersonation,
  one could always get sth. trustworthy looking there,
  it is better to check the profile with additional information (eg. other chats) if in doubt

- general cleaner, uncluttered layout

- pave the way of the upcoming multi-addresses

drawback is that sometimes one more tap is needed to access the email-address -
however, as it is _always_ one tap away now,
this can also go easily to the finger memory.

* add CHANGELOG entry
  • Loading branch information
r10s authored Dec 18, 2024
1 parent 51e19ad commit 3da2897
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
- Access your most recent Webxdc-apps from the Homescreen using our shiny new widget (#2406)
- Don't show message-input when forwarding (#2435)
- Long-tap links for copying to clipboard (#2445)
- Hide address in titles: protect against over-the-shoulder-attacks, improve screenshot privacy, clear UX (#2447)

## v1.50.3

Expand Down
2 changes: 0 additions & 2 deletions deltachat-ios/Chat/ChatViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -904,8 +904,6 @@ class ChatViewController: UITableViewController, UITableViewDropDelegate {
let dcContact = dcContext.getContact(id: chatContactIds[0])
if dcContact.isBot {
subtitle = String.localized("bot")
} else if dcChat.isProtected == false {
subtitle = dcContact.email
} else {
subtitle = nil
}
Expand Down

0 comments on commit 3da2897

Please sign in to comment.