mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-03 06:36:58 +02:00
Enhancement - Messages: switch decline and preview buttons on invites
https://github.com/vector-im/vector-ios/issues/447
This commit is contained in:
@@ -1982,8 +1982,9 @@
|
||||
selectedRoomDetailsIndex = 0;
|
||||
[self performSegueWithIdentifier:@"showRoomDetails" sender:self];
|
||||
}
|
||||
else if (view == previewHeader.leftButton)
|
||||
else if (view == previewHeader.rightButton)
|
||||
{
|
||||
// 'Join' button has been pressed
|
||||
if (roomPreviewData)
|
||||
{
|
||||
// Attempt to join the room (keep reference on the potential eventId, the preview data will be removed automatically in case of success).
|
||||
@@ -2045,8 +2046,9 @@
|
||||
}];
|
||||
}
|
||||
}
|
||||
else if (view == previewHeader.rightButton)
|
||||
else if (view == previewHeader.leftButton)
|
||||
{
|
||||
// 'Decline' button has been pressed
|
||||
if (roomPreviewData)
|
||||
{
|
||||
// Decline this invitation = leave this page
|
||||
|
||||
Reference in New Issue
Block a user