Include self in room roster

This commit is contained in:
James Booth
2014-10-07 01:16:46 +01:00
parent d8eb97eec8
commit 0e18b10b8e
4 changed files with 12 additions and 12 deletions

View File

@@ -670,8 +670,11 @@ handle_ping_error_result(const char * const from, const char * const error)
void
handle_muc_self_online(const char * const room, const char * const nick, gboolean config_required,
const char * const role, const char * const affiliation)
const char * const role, const char * const affiliation, const char * const jid, const char * const show,
const char * const status)
{
muc_roster_add(room, nick, jid, role, affiliation, show, status);
// handle self nick change
if (muc_nick_change_pending(room)) {
muc_nick_change_complete(room, nick);