Remove waprpl_blist_node_menu() stub

This is currently unused.

Signed-off-by: Lukas Fleischer <info@cryptocrack.de>
Switch to Linux kernel coding style

Use the Lindent script from the Linux kernel tree to reformat our
sources, without wrapping long lines. We need to refactor code and
reduce the number of nested blocks before line wrapping can be done
properly. Note that the Linux kernel coding style is very close to what
is used in libpurple (https://developer.pidgin.im/wiki/CodingStandards
for details).

Signed-off-by: Lukas Fleischer <info@cryptocrack.de>
Set initial status on startup

Fixes issue #35.

Signed-off-by: Lukas Fleischer <info@cryptocrack.de>
Fix a couple of trivial memory leaks

Signed-off-by: Lukas Fleischer <info@cryptocrack.de>
Remove stray comment

Signed-off-by: Lukas Fleischer <info@cryptocrack.de>
Replace C++ one-line comments with C89 comments

The Pidgin coding guidelines discourage the use of C++ one-line
comments. Replace them with C89 comments.

Signed-off-by: Lukas Fleischer <info@cryptocrack.de>
Split out blist_find_chat_by_*()

Remove a lot of copy-pasted code by moving it into separate functions.

Signed-off-by: Lukas Fleischer <info@cryptocrack.de>
Fix IM notification issues

Use serv_got_im() to deliver private messages instead of pretending that
private conversations are chats. Fixes issue #26.

Signed-off-by: Lukas Fleischer <info@cryptocrack.de>