cfdp / opeka

Counseling chat service, built for providing anonymous help to young people at risk
https://curachat.com
GNU General Public License v3.0
10 stars 6 forks source link

Add user is writing notification #64

Closed idSnig closed 7 years ago

cfdp commented 7 years ago

I get the checkbox, but no notification when logged in as admin and chatting with an anonymous user: The following errors appear in the node.js log:

curachat@vm:~/opeka/nodejs$ node main.js 
2017-02-16T12:37:17.044Z - info: Connecting to database...
16 Feb 12:37:17 - Queue created: Test queue 1
16 Feb 12:37:17 - Queue created: Test queue 2
2017-02-16T12:37:17.367Z - info: Opeka chat server listening on port 3010
2017-02-16T12:37:32.057Z - info: User that can generate ban codes signed in. 6ef2d530-343d-4c48-bc21-248eb9240204
2017-02-16T12:37:32.058Z - info: Admin user signed in. 6ef2d530-343d-4c48-bc21-248eb9240204
2017-02-16T12:37:32.063Z - info: User that can generate ban codes signed in. 6ef2d530-343d-4c48-bc21-248eb9240204
2017-02-16T12:37:32.063Z - info: Admin user signed in. 6ef2d530-343d-4c48-bc21-248eb9240204
16 Feb 12:37:36 - Room created:9461089a-10da-4b28-8665-9ade8dd6988e
2017-02-16T12:37:36.681Z - info: Room Chatrum (9461089a-10da-4b28-8665-9ade8dd6988e) created.
2017-02-16T12:37:36.712Z - info: Login: User chat start:  24787478
16 Feb 12:37:36 - Admin user added to room 9461089a-10da-4b28-8665-9ade8dd6988e
2017-02-16T12:37:59.550Z - info: Login: User chat start:  24787478
16 Feb 12:37:59 - Regular user added to room 9461089a-10da-4b28-8665-9ade8dd6988e
2017-02-16T12:38:02.809Z - warning: Client e430176f-39ce-414e-9b73-661dd542eeae tried to call method 'writingMessage' which they do not have access to.
2017-02-16T12:38:02.810Z - warning: Tried to call method 'displayError' for user e430176f-39ce-414e-9b73-661dd542eeae, but the method does not exist on the client side.