8

If you are viewing a chatroom's transcript, click the little arrow while you're hovering over a chat message. You will see "Star as interesting". This works for any date/time, regardless of how old the message is.

Now, try to unstar it. No effect. Why? Seems against all logic.

Take a look at this chat message from October 2010, for example. I starred it just now as a test, and now I cannot unstar it.

1
  • Because oldies are goldies.
    – Nooble
    Commented Aug 6, 2015 at 17:08

2 Answers 2

13

This has been fixed and applied as of build 307. (I don't think chat displays build information though, so it's hard to tell at a glance whether the changes have been deployed yet.)

Many thanks to rene for diagnosing this and making this an easy fix!

4
  • 1
    @rene is expecting his salary in 6-8 flowers. :) Commented Oct 2, 2015 at 18:06
  • Cool, it hasn't been deployed for me yet, I'll try in a few days.
    – user176088
    Commented Oct 5, 2015 at 20:23
  • @ScottW I've just deployed it now. Hard-refresh so your JS is up to date, then try again.
    – C. K. Young Staff
    Commented Oct 5, 2015 at 20:35
  • Sweet, seems to work! Not a huge issue but I can only get it to unstar if I newly star from now on. That chat message I starred in the OP I still can't get to unstar, but this is still more or less fixed (from now on anyway).
    – user176088
    Commented Oct 5, 2015 at 20:45
15

That is indeed a bug when you star/unstar from the transcript.

The endpoint that gets called is

https://chat.meta.stackexchange.com/messages/3784733/star

to star a question and the same call is made when you unstar it. The toggle of the message being starred by you or not is handled server side.

In the transcript however when you the click option 'Unstar' the XHR request goes to:

https://chat.meta.stackexchange.com/messages/3784733/unstar

which gives an error:

Status Code:404 Not Found

As a workaround without having to navigate back in the room you can unstar that message by excecuting this javascript from the developer console while you are in that chat room and logged in:

$.post('http://chat.stackoverflow.com/messages/1299/star', {fkey: fkey().fkey });

When you first want to experiment with that trick make sure to enter one of the sandbox rooms to not disturb the room with things that can go wrong.

1
  • 1
    Yep, that's exactly it. The unstar action is used for clearing all stars from a message, which is an action only a chat room owner can do (hence the 404).
    – C. K. Young Staff
    Commented Oct 2, 2015 at 17:44

You must log in to answer this question.