Commit a63112f6 authored by Anthony Léonard's avatar Anthony Léonard Committed by Adrien Béraud

im: display bestId instead of uri in header bar

The bestId is the preferred way as it ensures that we display the
registered name instead of the full RingID when the former is
available.

Change-Id: If1981076a46835685dce82c07e8b8bc22336a770
Reviewed-by: Guillaume Roguez's avatarGuillaume Roguez <guillaume.roguez@savoirfairelinux.com>
parent 78c0c163
......@@ -115,7 +115,7 @@
[contactMethodsPopupButton removeAllItems];
for (auto cm : contactMethods) {
[contactMethodsPopupButton addItemWithTitle:cm->uri().toNSString()];
[contactMethodsPopupButton addItemWithTitle:cm->bestId().toNSString()];
}
BOOL isSMultipleCM = (contactMethods.length() > 1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment