Merge pull request #6326 from vector-im/johannes/lls-reporting

Enable reporting of live location shares (PSF-1066)
This commit is contained in:
Johannes Marbach
2022-06-28 10:59:54 +02:00
committed by GitHub
3 changed files with 10 additions and 17 deletions
@@ -1618,6 +1618,11 @@ static NSString *const kHTMLATagRegexPattern = @"<a href=(?:'|\")(.*?)(?:'|\")>(
displayText = [MXEventContentPollStart modelFromJSON:event.content].question;
break;
}
case MXEventTypeBeaconInfo:
{
displayText = [MXBeaconInfo modelFromJSON:event.content].desc;
break;
}
default:
*error = MXKEventFormatterErrorUnknownEventType;
break;