You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's 3 problems with the current behaviour when a user who is muted submits a message:
The message appears them to be posted to the room, then they get a message that they've been muted. Its unclear if the submitted messages was actually posted though, but other users don't see it. This puts the muted users view of the room out of sync with the real room history. We've hacked a fix to this for a specific context using onClientBeforeSendMessage, but it needs to be brought inline with the global muting behaviour whatever that turns out to be, in regard to the following:
The error response comes from Rocketbot. This is inconsistent with all other system/permissions notices and the only such usage of Rocketbot. In some instances rocketbot is disabled and it doesn't make sense to surface it for one message type.
The message coming form the bot cannot use the same approach for translations as other system wide messages. Should use a translatable key string for consistent localisation.
I think the behaviour of muted user submitting a message should either block submission, with a standard system error alert OR the message box should be disabled or removed entirely with a view helper based on user-is-muted, showing the "You have been muted..." description instead as a placeholder.
The text was updated successfully, but these errors were encountered:
timkinnane
changed the title
Mute submit response inconsistent with system notices and translations
Muted submission response inconsistent with system notices and translations
Jul 27, 2016
v0.35.0
There's 3 problems with the current behaviour when a user who is muted submits a message:
onClientBeforeSendMessage
, but it needs to be brought inline with the global muting behaviour whatever that turns out to be, in regard to the following:I think the behaviour of muted user submitting a message should either block submission, with a standard system error alert OR the message box should be disabled or removed entirely with a view helper based on user-is-muted, showing the "You have been muted..." description instead as a placeholder.
The text was updated successfully, but these errors were encountered: