mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-02 22:26:59 +02:00
Chat screen: Add "view source" option on the selected event #459
This commit is contained in:
@@ -1748,6 +1748,18 @@
|
||||
}];
|
||||
}
|
||||
|
||||
if (level == 1)
|
||||
{
|
||||
[currentAlert addActionWithTitle:NSLocalizedStringFromTable(@"room_event_action_view_source", @"Vector", nil) style:MXKAlertActionStyleDefault handler:^(MXKAlert *alert) {
|
||||
|
||||
__strong __typeof(weakSelf)strongSelf = weakSelf;
|
||||
[strongSelf cancelEventSelection];
|
||||
|
||||
// Display event details
|
||||
[strongSelf showEventDetails:selectedEvent];
|
||||
}];
|
||||
}
|
||||
|
||||
if (level == 1)
|
||||
{
|
||||
[currentAlert addActionWithTitle:NSLocalizedStringFromTable(@"room_event_action_report", @"Vector", nil) style:MXKAlertActionStyleDefault handler:^(MXKAlert *alert) {
|
||||
|
||||
Reference in New Issue
Block a user