mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-18 11:03:17 +00:00
Update DirectMessage.vue component
This commit is contained in:
parent
0c95f679b3
commit
b89896052c
1 changed files with 3 additions and 1 deletions
|
@ -456,7 +456,9 @@
|
|||
// objDiv.scrollTop = objDiv.scrollHeight;
|
||||
// }, 300);
|
||||
}).catch(err => {
|
||||
if(err.response.status == 403) {
|
||||
if(err.response.status == 400) {
|
||||
swal('Error', err.response.data.error, 'error');
|
||||
} else if(err.response.status == 403) {
|
||||
self.blocked = true;
|
||||
swal('Profile Unavailable', 'You cannot message this profile at this time.', 'error');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue