| 302 |
302 |
| 303 /* Call libpurple - will trigger 'mxit_chat_join' */ |
303 /* Call libpurple - will trigger 'mxit_chat_join' */ |
| 304 serv_got_joined_chat(gc, multimx->chatid, multimx->roomname); |
304 serv_got_joined_chat(gc, multimx->chatid, multimx->roomname); |
| 305 |
305 |
| 306 /* Send ".list" command to GroupChat server to retrieve current member-list */ |
306 /* Send ".list" command to GroupChat server to retrieve current member-list */ |
| 307 mxit_send_message(session, multimx->roomid, ".list", FALSE); |
307 mxit_send_message(session, multimx->roomid, ".list", FALSE, FALSE); |
| 308 } |
308 } |
| 309 |
309 |
| 310 |
310 |
| 311 /*------------------------------------------------------------------------ |
311 /*------------------------------------------------------------------------ |
| 312 * Is this username a MultiMX contact? |
312 * Is this username a MultiMX contact? |
| 577 purple_debug_error(MXIT_PLUGIN_ID, "Could not find groupchat %i\n", id); |
577 purple_debug_error(MXIT_PLUGIN_ID, "Could not find groupchat %i\n", id); |
| 578 return -1; |
578 return -1; |
| 579 } |
579 } |
| 580 |
580 |
| 581 /* Send packet to MXit */ |
581 /* Send packet to MXit */ |
| 582 mxit_send_message(session, multimx->roomid, message, TRUE); |
582 mxit_send_message(session, multimx->roomid, message, TRUE, FALSE); |
| 583 |
583 |
| 584 /* Determine our nickname to display */ |
584 /* Determine our nickname to display */ |
| 585 if (session->profile && (session->profile->nickname[0] != '\0')) /* default is profile name (since that's what everybody else sees) */ |
585 if (session->profile && (session->profile->nickname[0] != '\0')) /* default is profile name (since that's what everybody else sees) */ |
| 586 nickname = session->profile->nickname; |
586 nickname = session->profile->nickname; |
| 587 else |
587 else |