mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 00:52:43 +02:00
RoomViewController: Prepare message edited mention tap.
This commit is contained in:
@@ -2824,9 +2824,9 @@
|
||||
NSString *fragment = [NSString stringWithFormat:@"/group/%@", [MXTools encodeURIComponent:absoluteURLString]];
|
||||
[[AppDelegate theDelegate] handleUniversalLinkFragment:fragment];
|
||||
}
|
||||
else if ([absoluteURLString hasPrefix:kEventFormatterOnReRequestKeysLinkAction])
|
||||
else if ([absoluteURLString hasPrefix:EventFormatterOnReRequestKeysLinkAction])
|
||||
{
|
||||
NSArray<NSString*> *arguments = [absoluteURLString componentsSeparatedByString:kEventFormatterOnReRequestKeysLinkActionSeparator];
|
||||
NSArray<NSString*> *arguments = [absoluteURLString componentsSeparatedByString:EventFormatterLinkActionSeparator];
|
||||
if (arguments.count > 1)
|
||||
{
|
||||
NSString *eventId = arguments[1];
|
||||
@@ -2838,6 +2838,19 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
else if ([absoluteURLString hasPrefix:EventFormatterEditedEventLinkAction])
|
||||
{
|
||||
NSArray<NSString*> *arguments = [absoluteURLString componentsSeparatedByString:EventFormatterLinkActionSeparator];
|
||||
if (arguments.count > 1)
|
||||
{
|
||||
// TODO: Handle event edition history.
|
||||
|
||||
NSString *eventId = arguments[1];
|
||||
|
||||
NSLog(@"[RoomViewController] Did tap edited mention for eventId: %@", eventId);
|
||||
}
|
||||
shouldDoAction = NO;
|
||||
}
|
||||
else if (url && urlItemInteractionValue)
|
||||
{
|
||||
// Fallback case for external links
|
||||
|
||||
Reference in New Issue
Block a user