#instantbird log on 01 19 2017

All times are UTC.

00:26:53 --> EionRobb1 has joined #instantbird
00:27:12 <-- EionRobb1 has quit (Quit: Leaving.)
00:28:57 <-- EionRobb has quit (Ping timeout: 121 seconds)
00:37:21 --> EionRobb has joined #instantbird
00:56:31 --> nhnt11-win has joined #instantbird
00:59:48 <-- nhnt11-win has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
00:59:51 --> nhnt11-win has joined #instantbird
01:00:36 <nhnt11-win> Instantbird is all blurry on my Win10 :(
01:01:27 <-- matrixisreal has quit (Quit: Connection closed for inactivity)
01:19:46 --> nhnt11-win1 has joined #instantbird
01:21:46 <-- EionRobb has quit (Quit: Leaving.)
01:21:52 <-- nhnt11-win has quit (Ping timeout: 121 seconds)
01:22:44 --> nhnt11-win has joined #instantbird
01:23:48 <-- nhnt11-win1 has quit (Ping timeout: 121 seconds)
01:34:25 <-- freaktechnik has quit (Ping timeout: 121 seconds)
01:34:47 --> freaktechnik has joined #instantbird
02:18:05 --> EionRobb has joined #instantbird
02:59:13 <-- EionRobb has quit (Quit: Leaving.)
03:13:06 <instant-buildbot> build #951 of linux64-nightly-default is complete: Failure [4failed compile]  Build details are at http://buildbot.instantbird.org/builders/linux64-nightly-default/builds/951
03:17:54 <instant-buildbot> build #3430 of macosx-nightly-default is complete: Failure [4failed compile]  Build details are at http://buildbot.instantbird.org/builders/macosx-nightly-default/builds/3430
03:32:13 --> nhnt11-win1 has joined #instantbird
03:34:56 <-- nhnt11-win has quit (Ping timeout: 121 seconds)
03:34:56 * nhnt11-win1 is now known as nhnt11-win 
04:01:22 <-- Gizmokid2005 has quit (Quit: Uh-oh!! The Gizmo is gone!!!! Good Riddance.)
04:01:41 --> Gizmokid2005 has joined #instantbird
04:28:40 --> EionRobb has joined #instantbird
05:20:54 <-- EionRobb has quit (Quit: Leaving.)
05:26:23 --> EionRobb has joined #instantbird
05:26:52 --> fredw has joined #instantbird
05:27:50 <-- fredw has quit (Client exited)
06:01:44 --> Alex has joined #instantbird
06:02:54 --> Bollebib has joined #instantbird
06:25:51 <-- EionRobb has quit (Quit: Leaving.)
06:33:20 <-- nhnt11-win has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
06:43:00 <-- Bollebib has quit (Ping timeout: 121 seconds)
07:38:08 <freaktechnik> nhnt11: use thunderbird and suddenly it's hidpier
07:58:45 --> fredw has joined #instantbird
08:03:39 --> nhnt11-win has joined #instantbird
08:20:55 <-- nhnt11-win has quit (Connection closed)
08:20:59 --> nhnt11-win has joined #instantbird
08:26:45 <-- qheaden has quit (Ping timeout: 121 seconds)
08:28:10 --> qheaden has joined #instantbird
09:12:59 --> EionRobb has joined #instantbird
09:17:14 --> FilipMosner1 has joined #instantbird
09:19:54 --> gerard-majax has joined #instantbird
09:20:54 <-- FilipMosner has quit (Ping timeout: 121 seconds)
09:20:54 * FilipMosner1 is now known as FilipMosner 
09:43:24 <-- gerard-majax has quit (Ping timeout: 121 seconds)
09:44:03 --> gerard-majax has joined #instantbird
09:55:06 <-- nhnt11-win has quit (Ping timeout: 121 seconds)
10:08:08 <-- gerard-majax has quit (Ping timeout: 121 seconds)
10:20:19 <-- Alex has quit (Quit: Instantbird 1.5 -- http://www.instantbird.com)
10:26:27 --> matrixisreal has joined #instantbird
10:27:16 --> nhnt11-win has joined #instantbird
10:28:09 <-- Suiseiseki has quit (Ping timeout: 121 seconds)
10:31:46 --> Suiseiseki has joined #instantbird
10:35:48 --> BWMerlin has joined #instantbird
10:47:45 <-- fredw has quit (Client exited)
10:48:48 <matrixisreal> nhnt11: nhnt11-win : Hi, I have fixed that /topic bug you have givenm and I'm unable to decide what to work on next, Can you give few bugs to work with next
10:49:05 <matrixisreal> or some tips on chosing my next bug.
10:54:07 <nhnt11-win> matrixisreal: I'm a little busy today, I'll get back to you later or maybe tomorrow
10:54:41 <matrixisreal> nhnt11-win: 
10:54:44 <matrixisreal> Sure
10:55:11 <flo-retina> matrixisreal: pick a bug that annoys you personally :)
10:59:30 <matrixisreal> flo-retina: Im trying but didnt find anything eye catchy.., May be Ill carefully browse through the list again :)
10:59:42 <flo-retina> matrixisreal: I didn't mean in the list
10:59:51 <flo-retina> matrixisreal: use the product, and see what frustrates you
11:00:27 <nhnt11-win> matrixisreal: that could be anything from "ugh, it should be easy to <blabla>" or "yuck, <blabla> looks ugly"
11:01:05 <matrixisreal> flo-retina: nhnt11-win : Hmm,, I understand, Ill use it a bit more and think about it :D
11:03:24 <matrixisreal> flo-retina: nhnt11-win : How about a feature to browse the prev commands using up/down keys while typing a message?
11:03:40 <nhnt11-win> matrixisreal: we have discussed this several times, I think
11:03:51 <matrixisreal> yeah, Im sure :P
11:03:59 <nhnt11-win> right now, most of us just work around this by using undo :P
11:04:22 <nhnt11-win> you might find a bug already filed if you search bugzilla...
11:04:25 <matrixisreal> but why didnt op to add it?
11:04:33 <matrixisreal> *opt
11:05:05 <nhnt11-win> matrixisreal: most likely we discussed it for a while, couldn't come up with a UX that we all agreed upon, and forgot about it
11:05:06 <matrixisreal> nhnt11-win: How hard do u think its for me to fix?
11:05:10 <nhnt11-win> that, or nobody ended up implementing it
11:05:25 <nhnt11-win> matrixisreal: first we'd need to decide if we actually want it, and define all the behaviors, etc
11:05:29 <nhnt11-win> you should find the bug
11:05:33 <flo-retina> nhnt11-win: there was an add-on doing it well enough
11:05:37 <flo-retina> and it didn't seem worth the time to do it
11:05:38 <nhnt11-win> flo-retina: really?
11:05:47 <flo-retina> I think it was even restartless :)
11:06:02 <nhnt11-win> huh :)
11:06:22 <-- flo-retina has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
11:06:27 --> gerard-majax has joined #instantbird
11:06:29 <nhnt11-win> aha: https://addons.instantbird.org/en-US/instantbird/addon/278
11:06:31 <matrixisreal> flo-retina: nhnt11-win : But I guess it is to browse around the previous messages 
11:06:53 <matrixisreal> I am talking about just the commands which i think is a better use case, maybe ?
11:06:58 <nhnt11-win> matrixisreal: oh, you want commands?
11:07:07 <matrixisreal> yup, just them :P
11:07:24 <nhnt11-win> matrixisreal: that doesn't seem worth it, what's the use case?
11:07:37 <matrixisreal> I mean noone would like to send their prev msgs again, atleast not very often.
11:08:05 <nhnt11-win> that's why it's an addon ;)
11:08:58 <nhnt11-win> matrixisreal: btw, that addon tracks both messages and commands
11:09:01 <matrixisreal> but commands are the most usedones like /action /msg , or tagging others can also be shown?
11:09:16 <nhnt11-win> I suspect you could very very easily add an option to only track commands
11:09:21 <nhnt11-win> or only track messages. whatever.
11:10:05 <nhnt11-win> matrixisreal: I don't understand. Tab completion exists for these things.
11:10:27 * nhnt11-win doesn't feel like /action or /msg are commands you would repeat often
11:10:42 <nhnt11-win> if it's something you want, please feel free to modify that addon and add an option!
11:11:05 <nhnt11-win> We'd have to have a discussion before we can say if we want that in the tree though
11:11:06 <matrixisreal> nhnt11-win: Hmm,, thats a point.. :
11:11:49 <nhnt11-win> matrixisreal: if you like experimenting with features like this, you should write addons
11:12:06 <nhnt11-win> I'm sure you'll learn a thing or two, without having to worry about whether we approve or not ;)
11:12:29 <nhnt11-win> that doesn't mean that you shouldn't also contribute directly to the source though
11:13:03 <matrixisreal> nhnt11-win: I get what you are saying.
11:21:31 * not-freaktechnik 's radocal changes to the security of the chat browser live in an addon for good reason
11:23:47 --> mpmc has joined #instantbird
11:29:26 <not-freaktechnik> Hmm, I should test if that autoscroll fix from flo now fixed autoscroll in fast twitch chats too, or if there's still something not quite right there.
11:34:02 --> flo-retina has joined #instantbird
11:34:02 * ChanServ sets mode +qo flo-retina flo-retina 
11:41:23 <matrixisreal> flo-retina: Hi, I am trying to fix this. https://bugzilla.mozilla.org/show_bug.cgi?id=1034061
11:41:26 <instantbot> Bug 1034061 min, --, ---, pavankarthikboddeda, NEW, Long /me messages aren't split
11:41:44 <matrixisreal> Could you tell me how the LONG  messages are split 
11:43:43 <aleth-mob> In irc.js, probably 
11:49:51 <-- flo-retina has quit (Ping timeout: 121 seconds)
11:50:51 --> flo-retina has joined #instantbird
11:50:52 * ChanServ sets mode +qo flo-retina flo-retina 
11:54:50 <not-freaktechnik> It's in prepareForSending of irc.js afaik, matrixisreal 
11:56:03 <matrixisreal> yeah, it is, thanks
12:01:15 --> fredw has joined #instantbird
12:04:34 <-- EionRobb has quit (Quit: Leaving.)
12:09:03 <-- flo-retina has quit (Ping timeout: 121 seconds)
12:09:15 --> flo-retina has joined #instantbird
12:09:15 * ChanServ sets mode +qo flo-retina flo-retina 
12:11:01 <-- flo-retina has quit (A TLS packet with unexpected length was received.)
12:11:51 <matrixisreal> are characters like \r and \n treated specially ?
12:12:04 <matrixisreal> while typing an IRC message..
12:13:37 --> flo-retina has joined #instantbird
12:13:37 * ChanServ sets mode +qo flo-retina flo-retina 
12:18:05 <-- nhnt11-win has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
12:18:16 <-- BWMerlin has quit (Ping timeout: 121 seconds)
12:26:17 <matrixisreal> flo-retina: ?
12:42:37 --> clokep_work has joined #instantbird
12:42:37 * ChanServ sets mode +o clokep_work 
12:46:39 <-- clokep_work has quit (Ping timeout: 121 seconds)
13:22:57 --> clokep_work has joined #instantbird
13:22:57 * ChanServ sets mode +o clokep_work 
13:36:38 <clokep_work> matrixisreal: Did you look at the method that was pointed out?
13:36:46 <clokep_work> It should be clear from that how \r and \n are treated.
13:36:52 <clokep_work> If it isn't, then...ask a more specific question.
13:38:31 <matrixisreal> clokep_work: yeah the prepareForSending seemed to split by \r and \n,
13:38:59 <matrixisreal> But while sending the messages, I they are not getting splitted
13:39:04 <clokep_work> Yes, it splits by any combination of \r and \n (e.g. \n\r, \r\n \n\n, \r, \n, \r\n\r\n, etc.)
13:39:11 <clokep_work> Whay do you mean?
13:39:54 <matrixisreal> say if I send "hi \n Its me", what would be the sent message?
13:43:51 <clokep_work> "PRIVMSG #instantbird :hi " and "PRIVMSG #instantbird : Its me"
13:43:54 <matrixisreal> clokep_work: It turns out that the message is sent as it is
13:44:01 <clokep_work> No it isn't...
13:44:56 * matrixisreal is confused.
13:46:01 <aleth-mob> Try adding some dump() calls or the debugger to see what is going on...
13:46:51 <matrixisreal> clokep_work: what would the other end users see the message as?
13:46:56 <clokep_work> matrixisreal: Type "hi" then press "shift+enter" (I.e. add a \n), then type "its me" and it will get sent as two separate messages.
13:47:31 <clokep_work> EionRobb gave a talk at Linux Conf: "Lobbing cats into the walled garden: A beginners guide to reverse engineering instant messaging protocols": https://youtu.be/f9yfrFYv7s4?t=1809
13:47:38 <clokep_work> (I haven't watched yet.)
13:48:39 <matrixisreal> 7 Hrs :O
13:50:27 <clokep_work> It's just a recording of the entire room.
13:50:31 <clokep_work> So it's all day.
13:50:37 <clokep_work> His talk is like 30 - 45 minutes, probably.
13:51:08 <matrixisreal> clokep_work: Oo,, from where you have put the time stamp at ?
13:52:25 <clokep_work> Yes.
13:58:02 <clokep_work> matrixisreal: So do you understand the splitting of lines?
14:03:29 --> Bollebib has joined #instantbird
14:03:46 <matrixisreal> clokep_work: yup :)
14:05:49 <matrixisreal> clokep_work: I was actually working on this. https://bugzilla.mozilla.org/show_bug.cgi?id=1034061
14:05:52 <instantbot> Bug 1034061 min, --, ---, pavankarthikboddeda, NEW, Long /me messages aren't split
14:07:21 <matrixisreal> i still couldnt figure out the code flow, I see that the when run in "me" command is called, it conv.writeMessage( ), But i couldnt what happens next,
14:08:11 <matrixisreal> clokep_work: and where the prepareforsending() is called after than.
14:08:15 <matrixisreal> that
14:08:57 <clokep_work> matrixisreal: It's called outside of the IRC code automatically.
14:09:40 <matrixisreal> somewhere in the instantbird code ?
14:17:47 <clokep_work> Yeah.
14:17:50 <clokep_work> I don't know where exactly.
14:17:53 <clokep_work> grep for it? ;)
14:18:10 * clokep_work is doing some work right now, sorry!
14:18:28 <matrixisreal> no worries. :)
14:30:45 --> bgmCoder has joined #instantbird
14:32:37 <clokep_work> flo-retina: Any thoughts on if we should provide a message if we didn't set the topic? (Or maybe return false if we didn't?)
14:34:00 <flo-retina> I think several people were asking us to do what other clients do, ie. show a system message with the current topic when doing /topic without parameter
14:34:03 <aleth-mob> Iirc many people requested showing the current topic?
14:34:27 <flo-retina> aleth-mob: :)
14:34:49 <clokep_work> matrixisreal: Think you can do that?
14:34:57 <clokep_work> And remove the trailing whitespac ein that patch while you're at it?
14:37:20 <clokep_work> https://ē.nz/chat-timeline.pdf is intersting!
14:38:02 <matrixisreal> clokep_work: I didnt get what you are asking
14:38:16 <matrixisreal> Ive already fixed teh trailing space thing
14:41:09 <clokep_work> matrixisreal: Take a look at https://bugzilla.mozilla.org/page.cgi?id=splinter.html&bug=742356&attachment=8828249 your patch has trailing spae on line 485.
14:45:16 <matrixisreal> clokep_work: Removed it now. 
14:45:31 <matrixisreal> and also you were asking some other thing whether I can do it ?
14:47:13 <clokep_work> What flo said above: "I think several people were asking us to do what other clients do, ie. show a system message with the current topic when doing /topic without parameter"
14:55:15 <matrixisreal> clokep_work: Whats a system message?
14:56:22 <clokep_work> matrixisreal: Those messages that are like grey in color?
14:56:35 <clokep_work> They're messages that are meant to be from the program / server, not from another user.
14:57:25 <matrixisreal> clokep_work: which appear at the top?
14:57:45 <matrixisreal> but why show them again, if its already there ?
14:58:02 <clokep_work> Because the user asked for it.
14:58:07 <clokep_work> And because that's what a lot of other clients do.
14:58:15 <clokep_work> And because it's weird to just do nothing when the user types someting.
14:59:25 <matrixisreal> clokep_work: I understand, Ill try adding it :D
14:59:36 <matrixisreal> Do I file an other bug for this ?
14:59:42 <flo-retina> no
14:59:50 <matrixisreal> Okay
15:02:02 * aleth-mob thinks the bug title already asked for a system message
15:02:07 <matrixisreal> so, just to be clear /topic <nothing or spaces>  should show the topic as a system message, irrespective of the user priviliges(ops, half ops etc.) ?
15:03:51 <clokep_work> matrixisreal: Yes.
15:21:04 <-- flo-retina has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
15:54:38 <-- chrisccoulson has quit (Quit: OSError: [Errno 130] Owner died)
15:54:44 --> chrisccoulson has joined #instantbird
16:18:08 <-- mpmc has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
16:36:47 --> mpmc has joined #instantbird
16:37:51 --> nhnt11-win has joined #instantbird
16:52:06 --> flo-retina has joined #instantbird
16:52:07 * ChanServ sets mode +qo flo-retina flo-retina 
16:57:48 <-- gerard-majax has quit (Ping timeout: 121 seconds)
16:58:49 <-- fredw has quit (Client exited)
17:02:26 <-- micahg has quit (Connection closed)
17:20:55 --> micahg has joined #instantbird
17:32:24 <-- mpmc has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
17:33:35 --> gerard-majax has joined #instantbird
17:45:43 <-- gerard-majax has quit (Ping timeout: 121 seconds)
17:49:50 --> gerard-majax has joined #instantbird
18:03:24 <-- gerard-majax has quit (Ping timeout: 121 seconds)
18:04:51 --> gerard-majax has joined #instantbird
18:09:22 <-- gerard-majax has quit (Quit: Leaving)
18:09:24 --> gerard-majax_ has joined #instantbird
18:14:37 <-- gerard-majax_ has quit (Ping timeout: 121 seconds)
18:14:37 <-- nhnt11-win has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
18:21:52 --> gerard-majax_ has joined #instantbird
18:37:45 <-- gerard-majax_ has quit (Ping timeout: 121 seconds)
19:39:51 --> gerard-majax_ has joined #instantbird
19:41:13 * gerard-majax_ is now known as gerard-majax 
19:48:48 <-- gerard-majax has quit (Ping timeout: 121 seconds)
20:00:55 --> DGMurdockIII has joined #instantbird
21:36:57 <matrixisreal> clokep_work: flo-retina : anyone one free to talk about this bug 
21:36:59 <matrixisreal> https://bugzilla.mozilla.org/show_bug.cgi?id=1034061
21:37:02 <instantbot> Bug 1034061 min, --, ---, pavankarthikboddeda, NEW, Long /me messages aren't split
21:37:32 <flo-retina> matrixisreal: ask your question directly instead of asking if anybody is here
21:41:00 <matrixisreal> flo-retina: Okay, So I was just trying to understant how the irc messages and commands are handled.
21:41:00 <matrixisreal> Turned out a normal message calls a sendMsg->prepareForSending, but action messages, in this case /me didnt call prepareForSending.
21:41:33 <matrixisreal> I dont clearly see the codeflow when an action message is sent.
21:41:54 <flo-retina> where did you get stuck when trying to follow that code flow?
21:42:42 <matrixisreal> conv.writeMesssage() is what I understand upto.
21:43:12 <matrixisreal> I dont see where the characters etc are handled, or are they even?
21:45:51 <clokep_work> I think it still goes through prepareForSending...
21:45:55 <clokep_work> But maybe I'm wrong. :)
21:46:40 <clokep_work> Maybe not, actually....the actionCommand function calls ctcpCommand, which calls ircAccount.sendCTCPMessage, which probably directly shoots things across the socket.
21:49:12 <clokep_work> matrixisreal: Does that soudn right &?
21:49:14 <clokep_work> ^
21:49:39 <matrixisreal> clokep_work: yeah, I think so. :)
21:51:09 <matrixisreal> clokep_work: And what does writeMessage( ) do?
21:51:55 <clokep_work> matrixisreal: Can you link me to a line of code?
21:52:09 <matrixisreal> just a min
21:53:27 <matrixisreal> https://dxr.mozilla.org/comm-central/source/chat/protocols/irc/ircCommands.jsm#121
21:53:30 <matrixisreal> clokep_work: 
22:00:26 <clokep_work> matrixisreal: That's what tells instantbird to literally print to your screen.
22:00:32 <clokep_work> Because IRC doesn't echo commands back to us.
22:00:45 <clokep_work> So we both send it to the IRC server and write it to the sender's screen.
22:04:40 <matrixisreal> clokep_work: Got it, Could you tell me what this regex stuff is about:
22:05:15 <matrixisreal> https://dxr.mozilla.org/comm-central/source/chat/protocols/irc/irc.js#1817,1827-1831,1833-1834
22:08:21 <clokep_work> matrixisreal: Terrible, that's what it is. ;)
22:08:30 <clokep_work> It has to do with CTCP escaping.
22:09:10 <clokep_work> matrixisreal: http://www.alien.net.au/irc/ctcp.txt
22:09:17 <clokep_work> (Mostly you shouldn't have to care about that though.)
22:10:15 <matrixisreal> clokep_work: Yeah, Just for the sake of knowing stuff ;)
22:10:34 <matrixisreal> But my confusion is still not cleared..
22:11:52 <matrixisreal> sendCTCPMessage: inturn calls sendMsg-> Prepareformessage..
22:12:06 <clokep_work> I don't think sendMsg calls prepareForMessage.
22:12:35 <clokep_work> matrixisreal: sendMessage -> sendRawMessage -> socket.sendData.
22:12:47 <clokep_work> That's all about sending raw data over the socket, not via the IB frameworks.
22:14:48 <matrixisreal> clokep_work: Is this the sendMsg which is being called ?
22:14:50 <matrixisreal> https://dxr.mozilla.org/comm-central/source/chat/components/src/imConversations.js#354,367
22:15:54 <freaktechnik> I am disappointed in ircCTCP.jsm... it only implements the receiving...
22:16:16 <clokep_work> freaktechnik: What do you mean?
22:16:19 <clokep_work> The sending is in irc.js?
22:16:39 <freaktechnik> yes
22:17:54 <clokep_work> freaktechnik: Why do you want it in ircCTCP.jsm?
22:17:58 <clokep_work> I'm confused at what you're missing.
22:18:07 <matrixisreal> clokep_work:  Yeah, you are right, I was confused with the names.
22:18:22 <clokep_work> matrixisreal: Yeah I don't see where it's calling sendMsg
22:18:30 <clokep_work> sendMsg for IRC is defined as https://dxr.mozilla.org/comm-central/source/chat/protocols/irc/irc.js#249
22:18:31 <clokep_work> Btw.
22:18:48 <freaktechnik> oh, it's just that you could probably neatly separate all the CTCP stuff from the rest of IRC, or am I forgetting about some use case of CTCP?
22:19:49 <clokep_work> freaktechnik: You can't, unfortunately.
22:20:01 <clokep_work> Well maybe you can, but it makes sense for sendCTCPMessage to have access to the account.
22:20:03 <clokep_work> You need the socket.
22:20:16 <freaktechnik> oh right, because CTCP is all cool.
22:22:19 <-- Bollebib has quit (Ping timeout: 121 seconds)
22:22:26 <freaktechnik> luckily haven't had to deal with CTCP much even with my deep altering of IRC for Twitch, since you never actually send any CTCP messages there.
22:24:48 <clokep_work> :)
22:24:52 <clokep_work> CTCP is intense...
22:24:56 <clokep_work> We also support things that no one else does...
22:25:08 <clokep_work> I need to go. Ciao.
22:29:09 <-- clokep_work has quit (Ping timeout: 121 seconds)
23:04:22 --> clokep_work has joined #instantbird
23:04:23 * ChanServ sets mode +o clokep_work 
23:05:10 <clokep_work> matrixisreal: Any other questions?
23:05:25 <matrixisreal> :P
23:05:26 <clokep_work> freaktechnik: Btw I'd be happy to move all the CTCP stuff ircCTCP.jsm, that was my original...whatever.
23:05:31 <matrixisreal> Just typing a question
23:05:33 <clokep_work> It was just inconvenient to actually have the API there.
23:06:13 <matrixisreal> Few doubts: What class does the engine looks for if we have Conv.sendMsg() in the xml ?
23:07:46 <matrixisreal> clokep_work: I mean the Class Hierarchy/Prototype Chain, of in this case the Conversations.
23:09:36 <clokep_work> matrixisreal: I think that goes to the imConversation sendMsg you said before.
23:10:08 <clokep_work> matrixisreal: Which then calls sendMsg on the accoutn: https://dxr.mozilla.org/comm-central/source/chat/components/src/imConversations.js#381
23:10:19 <clokep_work> Or...maybe it's on the conversation.
23:10:20 <clokep_work> One of those. :)
23:12:17 <matrixisreal> clokep_work: But what is the "Parent Class", might not be a right term, which  imConversation inherits from?
23:12:35 <matrixisreal> and to which all the other protocols need to be a prototype of.
23:13:22 <clokep_work> matrixisreal: That's not correct.
23:14:08 <clokep_work> matrixisreal: So that code in imConversations.js represents a "UIConversation" object (the thing on the screen).
23:14:25 <clokep_work> Under the hood that has a reference to a prplIConversation.
23:14:38 <clokep_work> Which is what does the actual sending of messages (i.e. it knows how to speak the protocol).
23:17:23 * clokep_work is leaving in 5 minutes
23:18:33 --> EionRobb has joined #instantbird
23:18:45 <matrixisreal> clokep_work: So, the same function from UIConversations has to be called when the user types a command?
23:19:45 <clokep_work> (I second.)
23:19:47 <clokep_work> 1 seocnd
23:19:49 <clokep_work> second
23:19:50 <clokep_work> GARRRRRRR
23:22:02 <clokep_work> matrixisreal: It somehow gets into the commands service near https://dxr.mozilla.org/comm-central/source/im/content/conversation.xml#296
23:22:38 <clokep_work> matrixisreal: See also near https://dxr.mozilla.org/comm-central/source/im/content/conversation.xml#387
23:22:51 <clokep_work> SO pretty much it goes conversation.xml -> UIConversation -> prplIconversation
23:24:26 <matrixisreal> clokep_work: I think I understand a bit better. :)
23:24:50 <matrixisreal> Thanks a lot for sparing my stupid doubts :) :P
23:25:05 <clokep_work> No problem, it's confusing and I don't usually remember off the top of my head.
23:26:39 <matrixisreal> clokep_work: I think thats it for today, Thanks again, Bye :D
23:29:06 <-- clokep_work has quit (Ping timeout: 121 seconds)
23:50:47 --> clokep_work has joined #instantbird
23:50:48 * ChanServ sets mode +o clokep_work 
23:58:51 <-- clokep_work has quit (Ping timeout: 121 seconds)