mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-19 14:01:49 +03:00
Remove duplicates
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
3f221891f7
commit
a478463b75
2 changed files with 1 additions and 3 deletions
|
@ -1739,7 +1739,7 @@ export const UserInfoHeader: React.FC<{
|
||||||
interface IProps {
|
interface IProps {
|
||||||
user: Member;
|
user: Member;
|
||||||
room?: Room;
|
room?: Room;
|
||||||
phase: RightPanelPhases.MemberInfo | RightPanelPhases.MemberInfo | RightPanelPhases.EncryptionPanel;
|
phase: RightPanelPhases.MemberInfo | RightPanelPhases.EncryptionPanel;
|
||||||
onClose(): void;
|
onClose(): void;
|
||||||
verificationRequest?: VerificationRequest;
|
verificationRequest?: VerificationRequest;
|
||||||
verificationRequestPromise?: Promise<VerificationRequest>;
|
verificationRequestPromise?: Promise<VerificationRequest>;
|
||||||
|
|
|
@ -305,13 +305,11 @@ export default class RightPanelStore extends ReadyWatchingStore {
|
||||||
}
|
}
|
||||||
return !!card.state?.threadHeadEvent;
|
return !!card.state?.threadHeadEvent;
|
||||||
case RightPanelPhases.MemberInfo:
|
case RightPanelPhases.MemberInfo:
|
||||||
case RightPanelPhases.MemberInfo:
|
|
||||||
case RightPanelPhases.EncryptionPanel:
|
case RightPanelPhases.EncryptionPanel:
|
||||||
if (!card.state?.member) {
|
if (!card.state?.member) {
|
||||||
logger.warn("removed card from right panel because of missing member in card state");
|
logger.warn("removed card from right panel because of missing member in card state");
|
||||||
}
|
}
|
||||||
return !!card.state?.member;
|
return !!card.state?.member;
|
||||||
case RightPanelPhases.ThreePidMemberInfo:
|
|
||||||
case RightPanelPhases.ThreePidMemberInfo:
|
case RightPanelPhases.ThreePidMemberInfo:
|
||||||
if (!card.state?.memberInfoEvent) {
|
if (!card.state?.memberInfoEvent) {
|
||||||
logger.warn("removed card from right panel because of missing memberInfoEvent in card state");
|
logger.warn("removed card from right panel because of missing memberInfoEvent in card state");
|
||||||
|
|
Loading…
Reference in a new issue