[sip-comm-dev] Help with Fix of the issue 797 : Yahoo! contact alias not displayed


#1

Hello developers

I am working with the Issue 797, where we want the alias to be
displayed in the contact list rather than the cryptic yahoo id.

I am a student, stepping into the world of OpenSource. So need some
help so that I can come up with my first patch! :slight_smile:

I poked into the jYMSG API and found that we have
"ymsg.network.YahooUser" refrence being used to make an instance of
"net.java.sip.communicator.impl.protocol.yahoo.ContactYahooImpl".

To get the Alias we need something like getAlias() method which is in
the "ymsg.network.YahooChatUser" class in the API and not in
"ymsg.network.YahooUser".

Now to implement the feature, it seems that I need to break things
everywhere(what I could understand from my observation)
The constructor of "ymsg.network.YahooChatUser" is default and takes
no "ymsg.network.YahooUser" . Wish it was true ! :frowning:

I am stuck. Hope my observation is correct. Can some experienced
developers help me out with this??

Regards

Nitish Upreti

路路路

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#2

Hi,

and sorry for the late answer. So as I understand and what I see in
jYMSG API the alias you are talking for is used only in multichats
that is the reason its only in YahooChatUser which is the yahoo user
for multichats(chat rooms). I don't see anywhere else we can retrieve
something like alias for normal contacts.
I think there are some new versions of yahoo protocol which are
handling yahoo addressbook through http, but jYMSG is not using it in
which you can set or get such an information like display name.

Regards
damencho

路路路

On Sat, Jul 3, 2010 at 10:30 PM, Nitish Upreti <nitishupreti@gmail.com> wrote:

Hello developers

I am working with the Issue 797, where we want the alias to be
displayed in the contact list rather than the cryptic yahoo id.

I am a student, stepping into the world of OpenSource. So need some
help so that I can come up with my first patch! :slight_smile:

I poked into the jYMSG API and found that we have
"ymsg.network.YahooUser" refrence being used to make an instance of
"net.java.sip.communicator.impl.protocol.yahoo.ContactYahooImpl".

To get the Alias we need something like getAlias() method which is in
the "ymsg.network.YahooChatUser" class in the API and not in
"ymsg.network.YahooUser".

Now to implement the feature, it seems that I need to break things
everywhere(what I could understand from my observation)
The constructor of "ymsg.network.YahooChatUser" is default and takes
no "ymsg.network.YahooUser" . Wish it was true ! :frowning:

I am stuck. Hope my observation is correct. Can some experienced
developers help me out with this??

Regards

Nitish Upreti

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net