Adding multiplayer markdeep.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3291 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2016-07-31 14:23:47 +00:00
parent cca505ff01
commit 085b44752a
3 changed files with 200 additions and 11 deletions

View File

@ -98,6 +98,12 @@ class IrcService {
let person = prefix.split('!')[0];
let conversation = parts[1];
this._service.notifyPresenceChanged(conversation, person, "unavailable");
} else if (parts[0] == "QUIT") {
let person = prefix.split('!')[0];
let conversations = this._service.getConversations();
for (let i in conversations) {
this._service.notifyPresenceChanged(conversations[i], person, "unavailable");
}
} else if (parts[0] == "353") { // RPL_NAMREPLY
if (!this._nameReplies[parts[3]]) {
this._nameReplies[parts[3]] = [];