Update socketio event names

This commit is contained in:
Patrick Jentsch 2019-11-07 10:53:39 +01:00
parent 19f470ca18
commit 76fcb01186
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@
var foreignCorpusFlag = false; var foreignCorpusFlag = false;
{% else %} {% else %}
var foreignCorpusFlag = true; var foreignCorpusFlag = true;
socket.emit('inspect_user', {{ corpus.user_id }}); socket.emit('subscribe_foreign_user_ressources', {{ corpus.user_id }});
{% endif %} {% endif %}
class InformationUpdater { class InformationUpdater {

View File

@ -6,7 +6,7 @@
var foreignJobFlag = false; var foreignJobFlag = false;
{% else %} {% else %}
var foreignJobFlag = true; var foreignJobFlag = true;
socket.emit('inspect_user', {{ job.user_id }}); socket.emit('subscribe_foreign_user_ressources', {{ job.user_id }});
{% endif %} {% endif %}
class InformationUpdater { class InformationUpdater {