Mercurial > pidgin
view libpurple/protocols/myspace/README @ 17319:4cb842e0649c
Make msim_remove_buddy() functional. It now sends the delbuddy, persist,
and blocklist commands, each using msim_postprocess_outgoing().
Tested by removing a buddy, restarting Pidgin, and ensuring it did not reappear.
msim_postprocess_outgoing() and msim_postprocess_outgoing_cb() now both use msim_do_postprocessing() to do the actual postprocessing -- insertion of the
uid into the message. msim_postprocess_outgoing() calls msim_do_postprocessing()
if the uid is immediately available (for example, from the buddy list), while
msim_postprocess_outgoing_cb() calls it when the uid was looked up from the
server.
The new function avoids code duplication, which is important now because of the
additional feature of having "<uid>" within a string replaced with the uid, i
instead of adding a new integer field of the uid. msim_remove_buddy uses
this to insert the uid into the "body" field.
author | Jeffrey Connelly <jaconnel@calpoly.edu> |
---|---|
date | Wed, 13 Jun 2007 22:57:54 +0000 |
parents | 68f6611d6589 |
children | 58fa76501227 |
line wrap: on
line source
MySpaceIM Protocol Plugin by Jeff Connelly 20070414 ** Note: this code is being developed under Google Summer of Code. Greetings. This package contains a plugin for libpurple (as used in Pidgin, formerly Gaim) to connect to the new MySpaceIM instant messaging network and send/receive messages. Functionality is only basic as of yet, and this code should be considered beta quality. For features and TODO, see http://developer.pidgin.im/wiki/MySpaceIM Login using your _email address_ you use to login to myspace.com. You can't login using your numeric ID or alias. To test it out, send a message to yourself (by your username or numeric uid (email not yet supported)) or tom (6221). In either case you should get a reply. You should also be able to talk to other MySpaceIM users if you desire. Replies will always be shown as coming from a user's username, even if you IM by email or userid. There is a lot of work still to be done: - Better buddy list support, signing on/off - Status (online/offline/invisible, w/ message) - Typing notifications - General clean up of code - All the TODOs and XXX's mentioned in myspace.c - Every other MySpaceIM feature not yet implemented Feedback welcome. Enjoy, -Jeff Connelly California Polytechnic State University at San Luis Obispo myspaceim@xyzzy.cjb.net jeff2@homing.pidgin.im