mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-06-16 11:15:03 -04:00
show displayName on UI
This commit is contained in:
parent
0c7abfbf1d
commit
e7c484f428
4 changed files with 13 additions and 1 deletions
|
@ -41,6 +41,9 @@ class ServerConnection {
|
|||
case 'ping':
|
||||
this.send({ type: 'pong' });
|
||||
break;
|
||||
case 'displayName':
|
||||
Events.fire('displayName', msg);
|
||||
break;
|
||||
default:
|
||||
console.error('WS: unkown message type', msg);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue