]> cat aescling's git repositories - mastodon.git/commitdiff
[Glitch] Add “account timeline” filter category
authorThibG <thib@sitedethib.com>
Thu, 23 Jan 2020 20:32:00 +0000 (21:32 +0100)
committerThibaut Girka <thib@sitedethib.com>
Fri, 24 Jan 2020 14:27:15 +0000 (15:27 +0100)
Port JS changes from 43daeccccb31a0145c48f41c4ba449f0a3967ef2 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
app/javascript/flavours/glitch/features/account_timeline/index.js
app/javascript/flavours/glitch/selectors/index.js

index 2ef4ff602785ecb732511d92ec0d7fe12c6f9db4..f25c82a006653ccc5b5cf2e03e66f6acf88f862d 100644 (file)
@@ -112,6 +112,7 @@ class AccountTimeline extends ImmutablePureComponent {
           onLoadMore={this.handleLoadMore}
           emptyMessage={<FormattedMessage id='empty_column.account_timeline' defaultMessage='No toots here!' />}
           bindToDocument={!multiColumn}
+          timelineId='account'
         />
       </Column>
     );
index 8ceb71d032ba6eca7e1c1d0ee40123090b6e9a63..ab7dac66ae5a833ae0d9659a1c2b06eee1e49db4 100644 (file)
@@ -27,6 +27,7 @@ export const toServerSideType = columnType => {
   case 'notifications':
   case 'public':
   case 'thread':
+  case 'account':
     return columnType;
   default:
     if (columnType.indexOf('list:') > -1) {