Commit d524741a authored by admin's avatar admin

Update header.js s/direct-message/private-message/g

parent bdb48214
...@@ -97,7 +97,7 @@ class Header extends ImmutablePureComponent { ...@@ -97,7 +97,7 @@ class Header extends ImmutablePureComponent {
onChat = () => { onChat = () => {
const { account } = this.props; const { account } = this.props;
axios.post('https://chat.gab.com/direct-message', { axios.post('https://chat.gab.com/private-message', {
username: account.get('username'), username: account.get('username'),
}) })
.then(function (response) { .then(function (response) {
...@@ -337,7 +337,7 @@ class Header extends ImmutablePureComponent { ...@@ -337,7 +337,7 @@ class Header extends ImmutablePureComponent {
</Button> </Button>
} }
{account.get('id') !== me && {account.get('id') !== me &&
<form method='POST' action='https://chat.gab.com/direct-message'> <form method='POST' action='https://chat.gab.com/private-message'>
<input type="hidden" name="username" value={account.get('username')} /> <input type="hidden" name="username" value={account.get('username')} />
<IconButton <IconButton
type='submit' type='submit'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment