feat: support concurrent Reddit accounts
This commit is contained in:
1 parent
d819a0f1e6
commit
16a31335d0
51 files changed
+3241
-250
No files matched your search
@@ -1,6 +1,7 @@
|
||||
import type { MediaItem } from '../../../../../packages/api-contracts/src/index.js';
|
||||
import { RedditUsernameLink } from '../../components/reddit-username-link.js';
|
||||
import { mediaConversation, mediaType } from './filters.js';
|
||||
import { AccountOwnerBadge } from '../../components/account-owner-badge.js';
|
||||
|
||||
interface MediaCardProps {
|
||||
item: MediaItem;
|
||||
@@ -29,6 +30,7 @@ export function MediaCard({ item, isRevealed, onToggleReveal, onOpenPreview }: M
|
||||
{!isRevealed ? <span className="privacy-label">Private media hidden</span> : null}
|
||||
</div>
|
||||
<div className="media-card-body">
|
||||
<AccountOwnerBadge owner={item.owner} />
|
||||
<div>
|
||||
<strong><RedditUsernameLink showPrefix={false} username={item.sender} /></strong>
|
||||
<span>{item.chatUsername
|
||||
|
||||
Reference in new issue
Block a user