sblendorio / petscii-bbs

A Java framework for building highly customizable PETSCII-enabled BBS, accessible from Commodore 64/128
Mozilla Public License 2.0
121 stars 16 forks source link

Conversion of the Chatroom to allow Public chat #37

Closed eightbitswide closed 4 years ago

eightbitswide commented 4 years ago

Is there a way to convert the existing chatroom to allow for public messages?

It would appear that

sendToAll(new ChatMessage(-1, getClientName() + text));

in the correct location would allow messages which did not conform to the other if statement to be posted publicly, but with java not being my primary programming language (python/perl programmer here) it is completely escaping me.

Thanks Jeff

eightbitswide commented 4 years ago

For the moment, I've implemented ssshake's chatroom mods.
https://github.com/ssshake/theoldnet-bbs This issue can be closed.

sblendorio commented 4 years ago

Just updated Chat.java public to allow "public room" chat