What do X4M at startup ? I become crazy...

Asked by R. Rigaud

Hello, it still me with my app and X4M.

- When I used to use my Gmail account, there was troubles at start up, you remember ? .isDown() returned False for 10/11 seconds.. So I waited and then when I click "Connect" in my app, XMPP.up() and I receive instantly Roster and Presences...

- I'm testing with jabber.org server... Woh... I did not even touch my mouse that I was receiving Roster and Presences without any connection resquested from my part... No XMPP.up(), nothing... account is even not initialized...

So I thinked about delete channel listener for rosters, and call it manually, etc...

But I still connect immediatly (I see myself on Gajim...).

I really don't know what to do to get any control about it... Is X4M connecting at startup with Cache informations ?

I would like just being able to :

- To connect when I want (when user wants)
- Retrieve a roster when I want
- Get Presences only when my app is ready (when Roster would have create my contactlist).

And for now, I don't know when I connect, I receive Roster (from gmail) empty that I don't want (when I was listening with channel), and so when I receive presences from contacts that are not in my Roster, it bugs my app.

Could you tell me more about X4M at startup ? Why a gmail account don't connect ? Why a Jabber.org connect ?

Thank you.

Question information

Language:
English Edit question
Status:
Solved
For:
SamePlace Edit question
Assignee:
No assignee Edit question
Solved by:
R. Rigaud
Solved:
Last query:
Last reply:
Revision history for this message
R. Rigaud (raph-rigaud) said :
#1

Sorry, it could be my error... after hours of testing, maybe an event is running in my app at startup.
Connexion happens on select of a menulist... Maybe at startup, this selection happens and launch the connexion.
So it bugs each algo I coded...

I'll work on it tonight.