<spacekookie>
mathju: so I looked at the rpc test that was failing, and you got some of the parameters mixed up
<spacekookie>
I fixed it and will push that in a second
<spacekookie>
But it is making me think about making that failure in ratman less...fatal. Basically the problem was that you were including the local user in the "start_chat" parameter, which is implicit. So it tried to route to a user that was local, which it can't do
<mathju>
Ahh, OK, this was the bug ... thanks!
<spacekookie>
Now, the chat service still doesn't properly work, and I'm not really sure _why_. It seems like the receiving side of the chat message is never notified of new messages
<spacekookie>
Even though the subscription feature does in general work
<mathju>
is there a way to see the routing table?
<spacekookie>
Sort of
<mathju>
it would be interesting to get it as json, so we could visualize it easily in the browser :-)
<spacekookie>
Ah, sure yea we can havu an api for it
<mathju>
I guess local "routing" would be needed to, when we have web users or other multiprofile nodes.
<spacekookie>
Yea, and another issue is that if you send a message to someone before their announcement has made it to you
<spacekookie>
It's only really something that happens in testing but it should just be journaled until it can be sent
<spacekookie>
Or the user is known
<spacekookie>
I've traced the chat room failure to the alexandria subscription being immediately dropped! That's really weird
<spacekookie>
Okay so I figured out that the subscription is dropped because the chat worker's run condition check immediately returns false, which means it never listens for events
<mathju>
ahh ...
<mathju>
yea, I guess the sending of messages to contacts that have not been announced is really more of a testing then a real world issue :-)
<spacekookie>
I just pushed some code that fixes the immediate issue we had, but some stuff still isn't working. Just to make sure I don't accidentally break the code again
<spacekookie>
So now there's a bit of back and forth message wise before it panics. Getting there :P
<spacekookie>
It works!!
<spacekookie>
mathju: I pushed the working version to the MR branch. Feel free to merge it
<mathju>
looking forward to play around and write some tests :-)
<spacekookie>
Hopefully exposing the http api from qauld shouldn't be all that much work, so by the call tomorrow we should have a full stack to play with :)
<spacekookie>
*fingers crossed*
<mathju>
yeay!!! :-)
adam_free2air has joined #qaul.net
adam_free2air has quit [Ping timeout: 272 seconds]