TReKiE / msnp-sharp

Automatically exported from code.google.com/p/msnp-sharp
0 stars 0 forks source link

Display picture doesn't change #94

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

This code is changing user's display picture to the one in the 
application's path:

AddHandler Mess.ConversationCreated, AddressOf NewConversation

Private Sub NewConversation(ByVal sender As System.Object, ByVal e As 
MSNPSharp.ConversationCreatedEventArgs)
        AddHandler e.Conversation.Switchboard.TextMessageReceived, 
AddressOf GotMessage

        Dim Pic As String = App_Path() & "\profile_img.jpg"

        If System.IO.File.Exists(Pic) Then

e.Conversation.Messenger.Nameserver.StorageService.UpdateProfile(Image.From
File(Pic), "MyPhoto")
        End If
    End Sub

What is the expected output? What do you see instead?

Excepted output is changing the display picture of the user. Instead of, 
i'm getting this:

"A first chance exception of type 'System.Net.WebException' occurred in 
System.dll
A first chance exception of type 
'System.Web.Services.Protocols.SoapException' occurred in 
System.Web.Services.dll
MSNStorageService: Dynamic Item Does Not Exist "

What version of the product are you using? (MSNPSharp, OS, Mono etc.)

MSNPCharp, newest (svn checked out)

Original issue reported on code.google.com by tczol...@gmail.com on 18 Mar 2009 at 5:23

GoogleCodeExporter commented 9 years ago
You shouldn't change your display picture for every conversation. This is 
limited by
msn servers. "Dynamic Item Does Not Exist" means, you aren't receiving any 
contacts
updates from your contacts. See Contact.AutoSubscribeToUpdates...

Anyway, MS$ removed dynamic item support and this is not a fatal error. When 
your
display picture changed it shows a gelam (star) near contact (MSNP15)... And no
longer supported. It is replaced by What's new service.

Original comment by hepha...@gmail.com on 18 Mar 2009 at 6:30