MESSENGER-5208 and 5220 us09 and us04

This commit is contained in:
JanNiklas Grabowski
2023-11-13 17:33:21 +01:00
parent d1942c3884
commit d6da4e7f75
6 changed files with 103 additions and 0 deletions
@@ -580,6 +580,16 @@
contactCell = [[ContactTableViewCell alloc] init];
}
// BWI: 5208
if (BWIBuildSettings.shared.isFederationEnabled && self.mxSession && self.mxSession.myUser)
{
NSArray *myUserIdComponents = [self.mxSession.myUserId componentsSeparatedByString:@":"];
if (myUserIdComponents.count == 2)
{
[contact checkFederation:[myUserIdComponents objectAtIndex:1]];
}
}
// Make the cell display the contact
[contactCell render:contact];