Fix starting PMs

This commit is contained in:
abalabahaha
2016-04-23 10:15:29 -07:00
parent a5517c2c3b
commit 619139f871
4 changed files with 4 additions and 6 deletions

View File

@@ -584,7 +584,7 @@ export default class InternalClient {
return Promise.reject(new Error("Unable to resolve resUser to a User"));
}
// start the PM
return this.apiRequest("post", Endpoints.USER_CHANNELS(this.user.id), true, {
return this.apiRequest("post", Endpoints.ME_CHANNELS, true, {
recipient_id: user.id
})
.then(res => {