call: set displayName for ring accounts
Send the alias of the Ring account as the displayName
This is retro-compatible, by setting the displayName field on any ring
account created before this change.
Issue: #77365
Change-Id: Ifbe6269fa5fd6095cd0f61bfb23e443998418a16
diff --git a/src/AccGeneralVC.mm b/src/AccGeneralVC.mm
index a2d33b1..2d6f45d 100644
--- a/src/AccGeneralVC.mm
+++ b/src/AccGeneralVC.mm
@@ -206,6 +206,7 @@
switch ([textField tag]) {
case ALIAS_TAG:
[self currentAccount]->setAlias([[textField stringValue] UTF8String]);
+ [self currentAccount]->setDisplayName([[textField stringValue] UTF8String]);
break;
case HOSTNAME_TAG:
[self currentAccount]->setHostname([[textField stringValue] UTF8String]);