sforkowany z mirror/soapbox
ReplyMentions: to.length --> to.size, fix bug replying to self
rodzic
db40750ea6
commit
dc49ef9999
|
@ -23,7 +23,7 @@ class ReplyMentions extends ImmutablePureComponent {
|
||||||
render() {
|
render() {
|
||||||
const { explicitAddressing, to, isReply } = this.props;
|
const { explicitAddressing, to, isReply } = this.props;
|
||||||
|
|
||||||
if (!explicitAddressing || !isReply || !to || to.length === 0) {
|
if (!explicitAddressing || !isReply || !to || to.size === 0) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -41,4 +41,4 @@ class ReplyMentions extends ImmutablePureComponent {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue