1
0
mirror of https://github.com/tateisu/SubwayTooter synced 2024-12-25 00:21:26 +01:00

アカウントの発言を取る時にonly_mediaオプションを指定している部分と指定していない部分があった

This commit is contained in:
tateisu 2017-04-27 02:59:58 +09:00
parent 454e93b842
commit 47000951fc

View File

@ -662,7 +662,7 @@ class Column {
default:
case TAB_STATUS:
String s = String.format( Locale.JAPAN, PATH_ACCOUNT_STATUSES, profile_id );
if( with_attachment ) s = s + "&only_media";
if( with_attachment ) s = s + "&only_media=1";
return getStatuses( client, s );
case TAB_FOLLOWING:
@ -1165,8 +1165,9 @@ class Column {
default:
case TAB_STATUS:
return getStatusList( client,
String.format( Locale.JAPAN, PATH_ACCOUNT_STATUSES, profile_id ) );
String s = String.format( Locale.JAPAN, PATH_ACCOUNT_STATUSES, profile_id );
if( with_attachment ) s = s + "&only_media=1";
return getStatusList( client,s );
case TAB_FOLLOWING:
return getAccountList( client,
@ -1505,8 +1506,9 @@ class Column {
default:
case TAB_STATUS:
return getStatusList( client,
String.format( Locale.JAPAN, PATH_ACCOUNT_STATUSES, profile_id ) );
String s =String.format( Locale.JAPAN, PATH_ACCOUNT_STATUSES, profile_id );
if( with_attachment ) s = s + "&only_media=1";
return getStatusList( client,s );
case TAB_FOLLOWING:
return getAccountList( client,