summaryrefslogtreecommitdiff
path: root/Juick/ViewControllers/NewPostViewController.m
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2020-09-16 02:29:15 +0300
committerGravatar Vitaly Takmazov2020-09-16 02:29:15 +0300
commit08e26c13ab22fd07442d2323ba98a7b6cb56dc8a (patch)
tree290ca796565bd34f2f1a074662b317429a3f9882 /Juick/ViewControllers/NewPostViewController.m
parentdae781183522e43f04726bb07a9b7ae7b88a8f9e (diff)
Add more url info in error alert
Diffstat (limited to 'Juick/ViewControllers/NewPostViewController.m')
-rw-r--r--Juick/ViewControllers/NewPostViewController.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/Juick/ViewControllers/NewPostViewController.m b/Juick/ViewControllers/NewPostViewController.m
index 8e61006..990410b 100644
--- a/Juick/ViewControllers/NewPostViewController.m
+++ b/Juick/ViewControllers/NewPostViewController.m
@@ -52,7 +52,7 @@ NSString * const ReplyPostedNotificationName = @"ReplyPosted";
}];
} else {
self.navigationController.navigationItem.rightBarButtonItem.enabled = YES;
- [User throwUnableToLogin:self error:err];
+ [User throwUnableToLogin:self error:err path:@"postMessage" params:nil];
}
}];
} else {
@@ -64,7 +64,7 @@ NSString * const ReplyPostedNotificationName = @"ReplyPosted";
}];
} else {
self.navigationItem.rightBarButtonItem.enabled = YES;
- [User throwUnableToLogin:self error:err];
+ [User throwUnableToLogin:self error:err path:@"postreply" params:nil];
}
}];
}