(data)
| 167 | |
| 168 | // Gets the 'X is typing' messages of a user |
| 169 | const getTypingMessages = (data) => { |
| 170 | return $('.typing.message').filter(function (i) { |
| 171 | return $(this).data('username') === data.username; |
| 172 | }); |
| 173 | } |
| 174 | |
| 175 | // Gets the color of a username through our hash function |
| 176 | const getUsernameColor = (username) => { |
no test coverage detected