update roadmap

This commit is contained in:
Artem Titoulenko 2021-11-10 00:32:49 -05:00
parent 11d76158ce
commit 1a72012747
2 changed files with 5 additions and 1 deletions

View file

@ -6,5 +6,7 @@ Run your own AIM chat server, managing users and groups. Hook up a vintage clien
- [x] Accept and start negotiating a connection with a client - [x] Accept and start negotiating a connection with a client
- [x] Perform username/password authentication - [x] Perform username/password authentication
- [ ] Set up basic services - [x] Set up basic services
- [ ] Online/offline status for users
- [ ] Send IM back and forth
- [ ] The rest of the owl - [ ] The rest of the owl

View file

@ -133,6 +133,8 @@ export default class ICBM extends BaseService {
const messageText = messageTLV.payload.slice(startOfMessageFragment + 8, startOfMessageFragment + 8 + lengthOfMessageText).toString(); const messageText = messageTLV.payload.slice(startOfMessageFragment + 8, startOfMessageFragment + 8 + lengthOfMessageText).toString();
console.log('The user said:', messageText); console.log('The user said:', messageText);
// The client usually wants a response that the server got the message. It checks that the message
// back has the same message ID that was sent and the user it was sent to.
if (wantsAck) { if (wantsAck) {
const sender = this.communicator.user?.username || ""; const sender = this.communicator.user?.username || "";
const msgIdBuffer = Buffer.alloc(32); const msgIdBuffer = Buffer.alloc(32);