|
|
|
@ -66,8 +66,6 @@ export class SessionMessagesList extends React.Component<Props, State> {
|
|
|
|
|
this.getScrollOffsetBottomPx = this.getScrollOffsetBottomPx.bind(this);
|
|
|
|
|
this.displayUnreadBannerIndex = this.displayUnreadBannerIndex.bind(this);
|
|
|
|
|
|
|
|
|
|
this.onSendAnyway = this.onSendAnyway.bind(this);
|
|
|
|
|
|
|
|
|
|
this.messageContainerRef = this.props.messageContainerRef;
|
|
|
|
|
this.ignoreScrollEvents = true;
|
|
|
|
|
}
|
|
|
|
@ -592,8 +590,4 @@ export class SessionMessagesList extends React.Component<Props, State> {
|
|
|
|
|
const clientHeight = messageContainer.clientHeight;
|
|
|
|
|
return scrollHeight - scrollTop - clientHeight;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private async onSendAnyway({ contact, message }: any) {
|
|
|
|
|
message.resend(contact.id);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|