directmessage bugfix
This commit is contained in:
parent
3fdbe9af6c
commit
62cfab21b4
|
@ -1066,10 +1066,14 @@ public class Twitter {
|
|||
try {
|
||||
Response response = delete(DIRECTMESSAGE_DELETE, params);
|
||||
if (response.code() >= 300) {
|
||||
if (response.body() != null)
|
||||
throw new TwitterException(new JSONObject(response.body().string()));
|
||||
throw new TwitterException(response);
|
||||
}
|
||||
} catch (IOException err) {
|
||||
throw new TwitterException(err);
|
||||
} catch (JSONException err) {
|
||||
throw new TwitterException(err);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -31,6 +31,8 @@
|
|||
android:importantForAutofill="no"
|
||||
android:inputType="text"
|
||||
android:singleLine="true"
|
||||
android:digits="abcdefghijklmnopqrstuvwxyz_0123456789@"
|
||||
android:maxLength="16"
|
||||
app:layout_constraintStart_toStartOf="@id/dm_background"
|
||||
app:layout_constraintTop_toTopOf="@id/dm_background"
|
||||
app:layout_constraintBottom_toBottomOf="@id/dm_send"
|
||||
|
|
Loading…
Reference in New Issue