forked from zulip/zulip-mobile
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
msglist: Get dm-recipient-header names from user, not message, when able
But if it's not in user data, just fall back to the user's name on the message. Soon we'll use the user data to show a "(guest)" marker if it applies; this is zulip#5804. The header doesn't actually live-update when a recipient user's name changes (zulip#5208), because we don't yet use InboundEventEditSequence. But I've added logic in the code that builds that inbound event, so that the live-updating will happen if we ever do start using it. Like we did for the followed-topic marker on stream recipient headers, in 4ef0a0a.
- Loading branch information
1 parent
0dbcf8f
commit 3cae733
Showing
5 changed files
with
56 additions
and
7 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
src/webview/__tests__/__snapshots__/generateInboundEventEditSequence-test.js.snap.android
This file contains 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
2 changes: 2 additions & 0 deletions
2
src/webview/__tests__/__snapshots__/generateInboundEventEditSequence-test.js.snap.ios
This file contains 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
This file contains 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
This file contains 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
This file contains 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