mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 08:32:53 +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:
@@ -312,11 +312,11 @@
|
||||
{
|
||||
typeof(self) self = weakSelf;
|
||||
|
||||
UITextField *textField = [self->currentAlert textFields].firstObject;
|
||||
NSString *text = [self->currentAlert textFields].firstObject.text;
|
||||
|
||||
self->currentAlert = nil;
|
||||
|
||||
NSString *homeserver = textField.text;
|
||||
NSString *homeserver = text;
|
||||
if (homeserver.length)
|
||||
{
|
||||
// Test if the homeserver exists
|
||||
|
||||
Reference in New Issue
Block a user