fix *berg and *stein memeflags
add room avatars
BIN
avatars/art.png
Normal file
After Width: | Height: | Size: 111 KiB |
BIN
avatars/de.png
Normal file
After Width: | Height: | Size: 23 KiB |
BIN
avatars/eo.png
Normal file
After Width: | Height: | Size: 23 KiB |
BIN
avatars/es.png
Normal file
After Width: | Height: | Size: 44 KiB |
BIN
avatars/fr.png
Normal file
After Width: | Height: | Size: 21 KiB |
BIN
avatars/general.png
Normal file
After Width: | Height: | Size: 28 KiB |
BIN
avatars/hu.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
avatars/hy.png
Normal file
After Width: | Height: | Size: 21 KiB |
BIN
avatars/int.png
Normal file
After Width: | Height: | Size: 111 KiB |
BIN
avatars/os.png
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
avatars/pt.png
Normal file
After Width: | Height: | Size: 40 KiB |
BIN
avatars/ru.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
avatars/sl.png
Normal file
After Width: | Height: | Size: 25 KiB |
BIN
avatars/uk.png
Normal file
After Width: | Height: | Size: 21 KiB |
|
@ -19,7 +19,8 @@ class PPfunSocket extends EventEmitter {
|
||||||
|
|
||||||
this.on('sendChatMessage', (name, uid, msg, cid) => {
|
this.on('sendChatMessage', (name, uid, msg, cid) => {
|
||||||
if (this.isConnected) {
|
if (this.isConnected) {
|
||||||
const flag = this.getFlag(uid);
|
const flag = (name.endsWith('berg') || name.endsWith('stein'))
|
||||||
|
? 'il' : this.getFlag(uid);
|
||||||
const pack = ['chat', name, uid, msg, flag, cid];
|
const pack = ['chat', name, uid, msg, flag, cid];
|
||||||
this.ws.send(JSON.stringify(pack));
|
this.ws.send(JSON.stringify(pack));
|
||||||
}
|
}
|
||||||
|
|