diff --git a/webapp/channels/src/components/profile_popover/profile_popover.scss b/webapp/channels/src/components/profile_popover/profile_popover.scss
index 49707bc2a2..707e331a68 100644
--- a/webapp/channels/src/components/profile_popover/profile_popover.scss
+++ b/webapp/channels/src/components/profile_popover/profile_popover.scss
@@ -167,6 +167,13 @@
}
}
+ .user-profile-popover-pluggables {
+ &:not(:empty) {
+ padding: 0 16px 12px 16px;
+ @include textEllipsis;
+ }
+ }
+
.user-popover__custom-status {
display: flex;
align-items: center;
diff --git a/webapp/channels/src/components/profile_popover/profile_popover.tsx b/webapp/channels/src/components/profile_popover/profile_popover.tsx
index 06c316d4ea..fddfdc83bb 100644
--- a/webapp/channels/src/components/profile_popover/profile_popover.tsx
+++ b/webapp/channels/src/components/profile_popover/profile_popover.tsx
@@ -37,6 +37,7 @@ import ProfilePopoverTitle from './profile_popover_title';
import './profile_popover.scss';
+const PLUGGABLE_COMPONENT_NAME_PROFILE_POPOVER = 'PopoverUserAttributes';
export interface Props {
userId: string;
src: string;
@@ -49,11 +50,6 @@ export interface Props {
overwriteName?: string;
}
-function getDefaultChannelId(state: GlobalState) {
- const selectedPost = getSelectedPost(state);
- return selectedPost.exists ? selectedPost.channel_id : getCurrentChannelId(state);
-}
-
/**
* The profile popover, or hover card, that appears with user information when clicking
* on the username, profile picture of a user, or others.
@@ -183,13 +179,15 @@ const ProfilePopover = ({
haveOverrideProp={haveOverrideProp}
isBot={user.is_bot}
/>
-