Skip to content

Commit

Permalink
Fixing the mute notification message
Browse files Browse the repository at this point in the history
  • Loading branch information
vishalnarkhede committed Mar 20, 2020
1 parent 8f10a32 commit e5bab26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Message.js
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ export class Message extends Component {
addNotification(
successMessage
? successMessage
: `User with id ${message.user.id} has been muted`,
: `${message.user.name || message.user.id} has been muted`,
'success',
);
} catch (e) {
Expand Down

0 comments on commit e5bab26

Please sign in to comment.