Feature #79: support for Adium group chat bookmarks (II)
commitd72ede1778827a924a51952ae7230669fd891a94
authorStefan Becker <chemobejk@gmail.com>
Thu, 15 Jan 2015 15:05:02 +0000 (15 17:05 +0200)
committerStefan Becker <chemobejk@gmail.com>
Thu, 15 Jan 2015 15:05:02 +0000 (15 17:05 +0200)
treebb264aab24332024e9c494f077ba0fb7c3b9422d
parent9b209269044697042abe4f653e1213ef72d1bd50
Feature #79: support for Adium group chat bookmarks (II)

Adium calls back to SIPE code during purple_serv_got_joined_chat().
Because our chat session isn't fully initialized at this point we can't
use sipe_purple_chat_get_session() yet. Add a sipe_chat_session field to
purple_private and store the chat session pointer there before calling
libpurple to create the backend chat session.

Make sure to only return a chat creation dictionary when we have been
able to determine the SIPE chat session.
src/adium/ESPurpleSIPEAccount.m
src/purple/purple-chat.c
src/purple/purple-private.h