replyMessage:{id:'confirmations.reply.message',defaultMessage:'Replying now will overwrite the message you are currently composing. Are you sure you want to proceed?'},
replyMessage:{id:'confirmations.reply.message',defaultMessage:'Replying now will overwrite the message you are currently composing. Are you sure you want to proceed?'},
message:<FormattedMessageid='confirmations.block.message'defaultMessage='Are you sure you want to block {name}?'values={{name:<strong>@{account.get('acct')}</strong> }} />,
message:<FormattedMessageid='confirmations.block.message'defaultMessage='Are you sure you want to block {name}?'values={{name:<strong>@{account.get('acct')}</strong> }} />,
message:<FormattedMessageid='confirmations.block.message'defaultMessage='Are you sure you want to block {name}?'values={{name:<strong>@{account.get('acct')}</strong> }} />,
message:<FormattedMessageid='confirmations.block.message'defaultMessage='Are you sure you want to block {name}?'values={{name:<strong>@{account.get('acct')}</strong> }} />,
replyMessage:{id:'confirmations.reply.message',defaultMessage:'Replying now will overwrite the message you are currently composing. Are you sure you want to proceed?'},
replyMessage:{id:'confirmations.reply.message',defaultMessage:'Replying now will overwrite the message you are currently composing. Are you sure you want to proceed?'},
message:<FormattedMessageid='confirmations.block.message'defaultMessage='Are you sure you want to block {name}?'values={{name:<strong>@{account.get('acct')}</strong> }} />,
message:<FormattedMessageid='confirmations.block.message'defaultMessage='Are you sure you want to block {name}?'values={{name:<strong>@{account.get('acct')}</strong> }} />,
replyMessage:{id:'confirmations.reply.message',defaultMessage:'Replying now will overwrite the message you are currently composing. Are you sure you want to proceed?'},
replyMessage:{id:'confirmations.reply.message',defaultMessage:'Replying now will overwrite the message you are currently composing. Are you sure you want to proceed?'},
@ -253,13 +254,19 @@ class Status extends ImmutablePureComponent {
}
}
}
}
handleBlockClick=(account)=>{
handleBlockClick=(status)=>{
const{dispatch,intl}=this.props;
const{dispatch,intl}=this.props;
constaccount=status.get('account');
dispatch(openModal('CONFIRM',{
dispatch(openModal('CONFIRM',{
message:<FormattedMessageid='confirmations.block.message'defaultMessage='Are you sure you want to block {name}?'values={{name:<strong>@{account.get('acct')}</strong> }} />,
message:<FormattedMessageid='confirmations.block.message'defaultMessage='Are you sure you want to block {name}?'values={{name:<strong>@{account.get('acct')}</strong> }} />,