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
This is another nextgen Message Template vs. Legacy Message Template issue. Things work nicely with the Legacy implementation, but are broken under the new implementation.
Under the Legacy Message Template, if you enter a room and see a message you don't like, if you then ignore the user who posted it, it immediately collapses the message (in fact, all messages by that user in this room), replacing it with the text "This message was ignored". If you un-ignore that user, his collapsed message(s) all immediately expand to show the full message text.
Under the new Message Template, ignoring a user has no immediate effect. You must leave the room and return (or refresh the page) for the message to be re-rendered into its "This message was ignored" collapsed state. Ditto for unignoring a user -- the messages remain collapsed until the room is entered again.
Steps to reproduce:
Ensure that you are using the new-style Message Template. Go to [Avatar] > My Account > Preferences > Global > Use legacy message template. Confirm it is disabled. Likewise for the equivalent system-wide setting: [Avatar] > Administration > Settings > Accounts > Default User Preferences > Use legacy message template
Enter a room that has messages, preferably multiple messages by the same user
Click on the username in the header of a message; click 3-dots ; click Ignore
Observe the (non-)effect on the user's messages.
Click on a different room. Click on the room you were just in.
Observe that the user's message are now "ignored"
Repeat the process but this time "unignore" the user
Enable the legacy message template (see step 1)
Repeat steps 2-7
Expected behavior:
All messages by that user are immediately replaced by "This message was ignored" when you ignore him.
All "This message was ignored" notices for comments by that user are immediately replaced with the actual message when you unignore him.
Actual behavior:
For steps 2-7, nothing happens.
For step 8-9, as expected.
I can see that the problem relates to the lack of detection of a change to the ISubscription.ignored property so it's not triggering a re-render. But I'm not sure where exactly to make the change.
Description:
This is another nextgen Message Template vs. Legacy Message Template issue. Things work nicely with the Legacy implementation, but are broken under the new implementation.
Under the Legacy Message Template, if you enter a room and see a message you don't like, if you then ignore the user who posted it, it immediately collapses the message (in fact, all messages by that user in this room), replacing it with the text "This message was ignored". If you un-ignore that user, his collapsed message(s) all immediately expand to show the full message text.
Under the new Message Template, ignoring a user has no immediate effect. You must leave the room and return (or refresh the page) for the message to be re-rendered into its "This message was ignored" collapsed state. Ditto for unignoring a user -- the messages remain collapsed until the room is entered again.
Steps to reproduce:
Expected behavior:
All messages by that user are immediately replaced by "This message was ignored" when you ignore him.
All "This message was ignored" notices for comments by that user are immediately replaced with the actual message when you unignore him.
Actual behavior:
For steps 2-7, nothing happens.
For step 8-9, as expected.
Server Setup Information:
Client Setup Information
The text was updated successfully, but these errors were encountered: