Not logged in. · Lost password · Register
Forum: Community Feature Requests RSS
Clear "User List" at update rostster... ( option )
We strongly need this feature..

Announcement

11-16-2005, 12:33 by halr9000
Subject: Psi Groupchat (new address)
Join us at the Psi Groupchat (MUC)! Room name: psi@conference.psi-im.org
Page:  1  2  next 
bildos #1
User title: :-)
Member since 12/2005 · 10 posts
Group memberships: Members
Show profile · Link to this post
Subject: Clear "User List" at update rostster... ( option )
Hello!
We use PSI as Jabberd client... All users are upload to PSI from Roster. There is no problem with downloading and add new user to PSI, but when we correct Roster ( and we have to delete some user ) then we have BIG problem, because Roster update client but client PSI then does't delete users from client list.
I have idea, this can help in situation like us.
Please add option to next realise of PSI this optiot it's
" Delete/Clear user list from client at Roster update" So when PSI client will recive new date from Rester then all user from contact list should be delete and nex user will be download from roster. Then I will recive in my PSI cear and correct list of user from my Roster.

Please add this option it's very important for my. Any other Idea about resolve this problem ?
This post was edited on 01-09-2006, 09:56 by bildos.
Avatar
Kev (Administrator) #2
User title: Project Lead
Member since 11/2002 · 3015 posts · Location: Exeter, UK
Group memberships: Administrators, Developers, Members
Show profile · Link to this post
I'm afraid I haven't got the slightest idea what you're talking about, could you elaborate please?
Psi Project Leader.
Homepage, including development blog
Mastah #3
Member since 11/2005 · 41 posts
Group memberships: Members
Show profile · Link to this post
I think he means when you update the roster on the server-side with new added contacts the behaviour of Psi is correct (adding the user to it's roster)
But when you remove/clear a user on the server-side (and Psi receives a rosterupdate) the user is not removed from Psi's roster.

(I hope I am correct, bildos)
Avatar
michalj (Moderator) #4
Member since 04/2004 · 2234 posts · Location: Legionowo, Poland
Group memberships: Global Moderators, Members
Show profile · Link to this post
The only thing that comes to my mind is that while it's easy to put a contact into all users' rosters, removing such a contact from all rosters is very difficult. And bildos tries to say that he wants us to put an option to Psi to remove a contact from rosters of all users of given server.
Michał Jazłowiecki (michalj)
Psi Forum & Wiki Moderator :: Psi-Daisy Author
Avatar
LonelyPixel #5
User title: UNB developer
Member since 03/2004 · 740 posts · Location: Eckental, Germany
Group memberships: Members
Show profile · Link to this post
Multiple rosters per user? Do I also have that?
Yves Goergen
Unclassified NewsBoard Forum - JabberPowered and extremely cool in general [Image: http://newsboard.unclassified.de/unb_lib/designs/_smile/unb/grin.png]
Avatar
spike (Administrator) #6
Member since 02/2003 · 1884 posts · Location: Leuven (Belgium)
Group memberships: Administrators, Developers, Members
Show profile · Link to this post
When the roster is updated (be it adding or removing of the contact), then the update is sent to all active resources, and Psi adds/deletes the contact from the roster. If your account is not online, and you log in later, the contact is removed when logging in. I just tested this, and it works correctly.

Either we haven't understood the question, or there is a bug in the server software. What server software are you running ? How is the contact deleted ? Is the update sent correctly to all active Psi instances ?
- Remko
bildos #7
User title: :-)
Member since 12/2005 · 10 posts
Group memberships: Members
Show profile · Link to this post
What shoul I do to remove correct users from roster and PSI ?

Best Redgards
Avatar
michalj (Moderator) #8
Member since 04/2004 · 2234 posts · Location: Legionowo, Poland
Group memberships: Global Moderators, Members
Show profile · Link to this post
Psi always displays current roster contents (unless Psi is offline) - if You remove someone from the roster (for example from other Jabber client), Psi will know about it and remove the contact from its roster.
Michał Jazłowiecki (michalj)
Psi Forum & Wiki Moderator :: Psi-Daisy Author
Avatar
michalj (Moderator) #9
Member since 04/2004 · 2234 posts · Location: Legionowo, Poland
Group memberships: Global Moderators, Members
Show profile · Link to this post
Here's translation back to English of what bildos has wrote to me (and all those who understand Polish ;)):

Jabber server runs Jabberd2 server software. The list of available users is being set up by network admin and this is internal-only network. Each time the user logs in, he gets back the current roster. Server also stores information that user had updated the roster. Roster contents is re-fetched when the active table contents (in DB) gets cleared.
Psi client gets current roster (contact list) and uses it. If the new users appear in roster (michalj: database table?), they are added to all users' rosters (contact lists), however when someone is removed from roster table, Psi does not update its roster (contact list).
What do I have to do, to force Psi (and other Jabber clients) to exactly map the contents of roster table in their roster (contact-list)?

For example, let's suppose Psi roster contains following users:
{1, 2, 3}.

roster gets updated to contain:
{1, 3, 4, 5}
(so user 2 was removed and user 5 was added).

Now, Psi displays the current roster contents as:
{1, 2, 3, 4, 5}
(with only user 5 added).

and expected roster contents was:
{1, 3, 4, 5}.

Hope that this clears the things up.
Michał Jazłowiecki (michalj)
Psi Forum & Wiki Moderator :: Psi-Daisy Author
This post was edited on 01-10-2006, 06:11 by michalj.
Avatar
michalj (Moderator) #10
Member since 04/2004 · 2234 posts · Location: Legionowo, Poland
Group memberships: Global Moderators, Members
Show profile · Link to this post
Quote by machekku:
(could someone move this thread to Polish forum?)
I'm moving, I'm moving. I've just finished translating!
Michał Jazłowiecki (michalj)
Psi Forum & Wiki Moderator :: Psi-Daisy Author
Avatar
spike (Administrator) #11
Member since 02/2003 · 1884 posts · Location: Leuven (Belgium)
Group memberships: Administrators, Developers, Members
Show profile · Link to this post
If i understand correctly, the roster is not updated according to the XMPP protocol (i.e. not using roster pushes when an active roster is updated).
- Remko
bildos #12
User title: :-)
Member since 12/2005 · 10 posts
Group memberships: Members
Show profile · Link to this post
Any ideas ho to resolve my problem ?
Avatar
machekku #13
User title: Crazy guy from Poland
Member since 07/2004 · 805 posts · Location: Poland
Group memberships: Developers, Members
Show profile · Link to this post
Could you tell us how do you change the roster on your server?
Maciek "Machekku" Niedzielski
Psi developer
[Image: http://machekku.uaznia.net/jabber/jobble/map/jmpixel1.png]
bildos #14
User title: :-)
Member since 12/2005 · 10 posts
Group memberships: Members
Show profile · Link to this post
My roster is localize in Jabberd directory subdirectory /templates/roster.xml
I this file I have all user.. if I have to Add new user do roster I just add his to roster... (manually)
If I have to delete user I just delete manualy user and than does't work delete user from lient .. so I have to do something wrong..
Avatar
machekku #15
User title: Crazy guy from Poland
Member since 07/2004 · 805 posts · Location: Poland
Group memberships: Developers, Members
Show profile · Link to this post
And is the psi connected while you edit this file?
Maciek "Machekku" Niedzielski
Psi developer
[Image: http://machekku.uaznia.net/jabber/jobble/map/jmpixel1.png]
Close Smaller – Larger + Reply to this post:
Smilies: :mellow: :huh: ^_^ :o ;) :P :D :lol: B) :rolleyes: -_- <_< :) :wub: :angry: :( :unsure: :wacko: :blink: :ph34r:
Special characters:
Page:  1  2  next 
Go to forum
Unclassified NewsBoard devel of 20051113 © 2003-5 by Yves Goergen
Current time: 07-24-2008, 11:59:50 (UTC -04:00)