Feature: Ability to mute contacts (#891)

fixes: #867
This commit is contained in:
Abdulkadir Poyraz 2020-05-26 15:13:59 +03:00 committed by GitHub
parent d8d14fc4a4
commit b1aab228ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 148 additions and 2 deletions

View file

@ -39,6 +39,10 @@ class ConversationApi extends ApiClient {
typing_status: status,
});
}
mute(conversationId) {
return axios.post(`${this.url}/${conversationId}/mute`);
}
}
export default new ConversationApi();