Chatclient fixes 2 (#16587)

* Fixes the chat client and services.

* oh how we love you

* lemme talk to 'em...

* a

* m

* lilas

* bro

---------

Co-authored-by: Matt Atlas <liermattia@gmail.com>
This commit is contained in:
Matt Atlas
2023-06-29 14:31:42 +02:00
committed by GitHub
parent dd0730580f
commit 1645af37cc
6 changed files with 112 additions and 49 deletions

View File

@@ -112,6 +112,8 @@ var/global/ntnrc_uid = 0
/datum/ntnet_conversation/proc/cl_join(var/datum/computer_file/program/chat_client/Cl)
if(!istype(Cl) || !can_see(Cl) || direct)
return
if(Cl.my_user in users)
return
var/datum/ntnet_message/join/msg = new(Cl)
Cl.my_user.channels.Add(src)
users.Add(Cl.my_user)