Add tilde if origin<ManuallyCreated, fix some tests

This commit is contained in:
Hocuri
2025-01-05 23:08:42 +01:00
parent fff4020013
commit 84456e510b
18 changed files with 104 additions and 102 deletions

View File

@@ -4677,7 +4677,7 @@ mod tests {
{
"id": 10,
"type": 100,
"name": "bob",
"name": "~bob",
"archived": false,
"param": "",
"gossiped_timestamp": 0,
@@ -4975,7 +4975,7 @@ mod tests {
// This is the name that will be sent outside.
assert_eq!(alice_bob_contact.get_authname(), "Bob");
assert_eq!(alice_bob_contact.get_display_name(), "robert");
assert_eq!(alice_bob_contact.get_display_name(), "~robert");
}
// Create and promote a group.