Repository navigation
Add alias support 2 - #2297
Merged
Merged
Add alias support 2#2297
Conversation
Collaborator
Author
|
I'm done with what we thought of, and it looks really nice and totally feels like the correct thing to do! There is one thing to decide left, which is, what if the referenced message was deleted for whatever reason; currently the message is shown in the wrong chat then. There are quite some possible solutions, let's decide on one of them at the weekend or next week. |
Hocuri
added a commit
to deltachat/deltachat-android
that referenced
this pull request
Mar 22, 2021
…s if OverrideSenderName is set See chatmail/core#2297
Hocuri
added a commit
to deltachat/deltachat-android
that referenced
this pull request
Mar 22, 2021
…s if OverrideSenderName is set See chatmail/core#2297
Collaborator
Author
fix #2292 The problem was that apparently, the parent message was in the trash chat. Therefore, the new message was assigned to the trash chat, too.
…age to the correct chat if the parent message was deleted (yet)
r10s
approved these changes
Apr 10, 2021
r10s
left a comment
Contributor
There was a problem hiding this comment.
lgtm, great! also nice tests! conditions are pretty strict, but even then it is hard to overlook all possible effects, we need to test that in real life :)
Co-authored-by: bjoern <[email protected]>
Hocuri
added a commit
to deltachat/deltachat-android
that referenced
this pull request
Apr 12, 2021
* Adapt to alias support: Always show sender avatar and name on messages if OverrideSenderName is set See chatmail/core#2297 * Rename groupThread to showSender as this variable is not only true in groups anymore
This was referenced Apr 14, 2021
This was referenced May 27, 2021
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fix #2073
fix #2292 (I think)
Messages can be assigned to any chat by the References and In-Reply-To, also to 1:1 chats; this has higher priority than the group id because with ad-hoc groups, it can happen that two devices have different group ids for the same conversation thread.
If
Fromis not in the chat (we call this "shadow sender"),OverrideSenderDisplaynameis set. This communicates to the UI that:~should be added in front of the sender's displayname.The "Unknown sender for this chat" messages are completely removed for unprotected groups.
For protected chats, everything stays as it was before.
POSTPONED: