mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-02-14 07:43:31 -07:00
Make the names assigned to unnamed group DMs predictable (#1386)
This commit is contained in:
parent
7dfcf5ac19
commit
4a74ff8a02
|
|
@ -78,6 +78,7 @@ public partial record Channel
|
|||
?? json.GetPropertyOrNull("recipients")
|
||||
?.EnumerateArrayOrNull()
|
||||
?.Select(User.Parse)
|
||||
.OrderBy(u => u.Id)
|
||||
.Select(u => u.DisplayName)
|
||||
.Pipe(s => string.Join(", ", s))
|
||||
// Fallback
|
||||
|
|
|
|||
Loading…
Reference in a new issue