Support standalone signaling server for chat - #890
Conversation
|
This is a first improvement in that the polling gets removed, the messages are still loaded from PHP. In a future step, this could be changed further so that the messages are sent through the WebSocket and no more PHP calls are necessary (besides loading the initial list of past messages). |
This removes the long-polling against the PHP backend and instead sends an event to all users in a room through the standalone signaling server to notify that new chat messages exist. Signed-off-by: Joachim Bauch <bauch@struktur.de>
Signed-off-by: Joachim Bauch <bauch@struktur.de>
Signed-off-by: Joachim Bauch <bauch@struktur.de>
27d55af to
191075b
Compare
|
You guys forgot the backport label :( |
|
This will also need a backport of #887 then. |
|
And #398 :( |
|
Btw, what are the guidelines for backporting issues? From what I understand from the past, only bug fixes should be backported but no new features. |
|
In this app we backport everything which is not server-version dependent. The diff between master + stable13 (or in the future stable14) should only be code that is necessary for server master, e.g. a lot of CSS changes are necessary and personal settings module was changed. |
|
Ok, thanks for clarification. I'll add the |
Implements #624. Based on #887 which should be merged first.