Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2012
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.39 KB | None | 0 0
  1. Hi all,
  2.  
  3. I continued working on Bug 307 this weekend. Sry guys I was busy we deadline of my final year project.
  4.  
  5. I have few doubts about the Bug
  6.  
  7. I think we can serialize and save this._purpleConversations array ( http://lxr.instantbird.org/instantbird/source/chat/components/src/imConversations.js#353
  8.  
  9. ). I tried doing this in unInitConversations (http://lxr.instantbird.org/instantbird/source/chat/components/src/imConversations.js#358
  10.  
  11. ) but unInitConversations is not called in case of scenarios like process termination.
  12.  
  13. I think we can use this._purpleConversations to restore conversation using addConversation one by one for each element (considering all those accounts that are connected).
  14.  
  15. I tried to follow code using dump and when I used dump(this._purpleConversations)
  16.  
  17. It shows an array of [xpconnect wrapped (nsISupports, nsIClassInfo, prplIConversation, prplIConvIM)] I am not able to figure out how to access prplIConversation object for an element (e.g. dump object or access attributes). I tried using dot but that gives [xpconnect wrapped prplIConversation]
  18.  
  19.  
  20. Now a questions comes whether we can save only required details since I don't think nsISupports is required to be saved.
  21. I referred lxr.instantbird.org/instantbird/source/chat/components/public/prplIConversation.idl
  22.  
  23. and It seems to have lots of conversation related details.Similarly for prplIConvIM.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement