mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-22 17:42:45 +02:00
BF: Ban and kick reasons are silently discarded
#2162 Fix Steve's remark everywhere we do `[self->currentAlert textFields].firstObject.text`
This commit is contained in:
@@ -1809,14 +1809,13 @@
|
||||
{
|
||||
typeof(self) self = weakSelf;
|
||||
|
||||
UITextField *textField = [self->currentAlert textFields].firstObject;
|
||||
NSString *roomAliasOrId = textField.text;
|
||||
NSString *roomAliasOrId = [self->currentAlert textFields].firstObject.text;
|
||||
|
||||
self->currentAlert = nil;
|
||||
|
||||
[self.activityIndicator startAnimating];
|
||||
|
||||
self->currentRequest = [self.mainSession joinRoom:textField.text success:^(MXRoom *room) {
|
||||
self->currentRequest = [self.mainSession joinRoom:roomAliasOrId success:^(MXRoom *room) {
|
||||
|
||||
self->currentRequest = nil;
|
||||
[self.activityIndicator stopAnimating];
|
||||
|
||||
Reference in New Issue
Block a user