by SWendt 26 Mar 2015, 06:45
For our users, the group chat is nearly unusable without the popout.
There would be multiple solutions for the problem: if the user opens the chatroom as popout, deactivate the chatrooms in the chatbar (cookie, session ...). Or don't use a database-field for the "read-status". This creates a unnecessary write process for the database (you should avoid any unnecessary write process with a high performance application like a chat). You could just submit the ID of the last received message with the ajax-call and send all messages with a ID greater than that to the client. So every browser/window/tab/whatever would be synced.
So, the bottom of the line is, that it's not possible to let the users open a chatroom as popout and use the site at the same time, without a monthly fee for a push-service that is not needed apart from that?