mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-03-26 16:30:04 +01:00
Chatname Fix
Sends the chatname to the client
This commit is contained in:
parent
88f6e8ca38
commit
7a4834b8d0
@ -1560,6 +1560,7 @@ load_lua_scripts()
|
||||
@socketio.on('connect')
|
||||
def do_connect():
|
||||
print("{0}Client connected!{1}".format(colors.GREEN, colors.END))
|
||||
emit('from_server', {'cmd': 'setchatname', 'data': vars.chatname})
|
||||
emit('from_server', {'cmd': 'connected', 'smandelete': vars.smandelete, 'smanrename': vars.smanrename})
|
||||
if(vars.remote):
|
||||
emit('from_server', {'cmd': 'runs_remotely'})
|
||||
|
Loading…
x
Reference in New Issue
Block a user