mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 00:24:43 +02:00
Add presence to MXKRecentCellData
This commit is contained in:
@@ -93,6 +93,19 @@
|
||||
return roomSummary.avatar;
|
||||
}
|
||||
|
||||
- (MXPresence)presence
|
||||
{
|
||||
if (self.roomSummary.isDirect)
|
||||
{
|
||||
MXUser *contact = [self.mxSession userWithUserId:self.roomSummary.directUserId];
|
||||
return contact.presence;
|
||||
}
|
||||
else
|
||||
{
|
||||
return MXPresenceUnknown;
|
||||
}
|
||||
}
|
||||
|
||||
- (NSString *)lastEventTextMessage
|
||||
{
|
||||
if (self.isSuggestedRoom)
|
||||
|
||||
Reference in New Issue
Block a user