... in order to prevent two simultaneous chats being created.

Yesterday, I got the orange "Please avoid extended discussions in comments. Would you like to automatically move this discussion to chat?" -box in commenting on this answer. (Sorry, all relevant comments are deleted, but maybe admins can still see them.)

So I started that chat, but the other arguer also started a chat which resulted in two separate chats.

It seems the orange box appears for both parties of the discussion. Sounds logical. But as soon as one of them uses that option, should that orange box not dissappear or change into:

[Other name] moved this discussion to chat. Would you like to follow?

for the second party, to prevent double chats?


This is usually prevented by using the fact that room name and topic are auto-generated, and can't be changed by the users (because they're not owners). This was the simplest thing possible and suffices in 99% of the cases. It failed here because the other user recently changed their display name, and when the first room was created, chat still had the old name, but by the time the second one was created, their chat profile had been updated.

I'll have a look at storing this information in a less volatile way.

  • 1
    does this really need to be fixed? It seems this is kind of an extreme edge condition if it's predicated on one user changing their name. – Jeff Atwood Jul 11 '11 at 2:05
  • +1 For already dealing with it. Just for curiosity: what ís the default preventing behavior? Does the second click result in showing the chat of the first? Or? – NGLN Jul 11 '11 at 5:04
  • Could the unique chat room name not be generated already at showing the orange box, rather then on clicking? Make the room name part of the link. – NGLN Jul 11 '11 at 5:11
  • Same extreme edge condition? – NGLN Sep 22 '11 at 4:36
  • @NGLN: Shouldn't; the issue I'm describing here shouldn't occur anymore. I'll check, though. – balpha Sep 22 '11 at 20:28

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .