This week I was able to tie up loose ends with the buddy icon code. I also worked on adding a default tag property to the Tags service. This change to the Tags service is the start of my code abstraction work.
Throughout the JS protocol code, there are a number of sections that contain duplicate code. Of course, when using object-oriented programming, it is wise to abstract code in base classes when possible. My next major abstraction is to provide a base method in jsProtoHelper.js to handle buddy requests, as buddy request handlers are duplicated between the JS-XMPP and JS-Yahoo protocol plug-ins.