diff options
author | Claire <claire.github-309c@sitedethib.com> | 2022-02-12 14:33:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-12 14:33:01 +0100 |
commit | f61137b7ffb97006ab811f8a4bce017b5f07f85d (patch) | |
tree | ff70b757d86a44665d16c8021cb81f8e04f396a7 /app/javascript/flavours/glitch/features/notifications/components/notification.js | |
parent | 28ec7def5869ff1a85f49a070b9575c166a432ee (diff) | |
parent | f4db2e1832e40cbdfd81feda24fcf87c96f6dbd5 (diff) |
Merge pull request #1688 from ClearlyClaire/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/javascript/flavours/glitch/features/notifications/components/notification.js')
-rw-r--r-- | app/javascript/flavours/glitch/features/notifications/components/notification.js | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/features/notifications/components/notification.js b/app/javascript/flavours/glitch/features/notifications/components/notification.js index e1d9fbd0a..1cf205898 100644 --- a/app/javascript/flavours/glitch/features/notifications/components/notification.js +++ b/app/javascript/flavours/glitch/features/notifications/components/notification.js @@ -171,6 +171,28 @@ export default class Notification extends ImmutablePureComponent { unread={this.props.unread} /> ); + case 'update': + return ( + <StatusContainer + containerId={notification.get('id')} + hidden={hidden} + id={notification.get('status')} + account={notification.get('account')} + prepend='update' + muted + notification={notification} + onMoveDown={onMoveDown} + onMoveUp={onMoveUp} + onMention={onMention} + getScrollPosition={getScrollPosition} + updateScrollBottom={updateScrollBottom} + cachedMediaWidth={this.props.cachedMediaWidth} + cacheMediaWidth={this.props.cacheMediaWidth} + onUnmount={this.props.onUnmount} + withDismiss + unread={this.props.unread} + /> + ); default: return null; } |