mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2026-04-21 14:44:54 +08:00
show displayName on UI
This commit is contained in:
committed by
PaulSzymanski
parent
0c7abfbf1d
commit
e7c484f428
@@ -18,6 +18,9 @@ class SnapdropServer {
|
||||
this._joinRoom(peer);
|
||||
peer.socket.on('message', message => this._onMessage(peer, message));
|
||||
this._keepAlive(peer);
|
||||
|
||||
// send displayName
|
||||
this._send(peer, { type: 'displayName', message: peer.name.displayName });
|
||||
}
|
||||
|
||||
_onHeaders(headers, response) {
|
||||
|
||||
Reference in New Issue
Block a user