comparison src/protocols/jabber/message.c @ 7955:119a22025818

[gaim-migrate @ 8630] fun jabber stuff, which isn't done yet. mostly harmless, and committing this now makes the next commit that much easier for a lazy person such as myself to type. committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Mon, 29 Dec 2003 08:59:22 +0000
parents a99f0aebc7ce
children 64e94b6823c3
comparison
equal deleted inserted replaced
7954:6dc91824d8d4 7955:119a22025818
481 chat = jabber_chat_find_by_id(js, id); 481 chat = jabber_chat_find_by_id(js, id);
482 482
483 if(!strcmp(msg, "/configure") || !strcmp(msg, "/config")) { 483 if(!strcmp(msg, "/configure") || !strcmp(msg, "/config")) {
484 jabber_chat_request_room_configure(chat); 484 jabber_chat_request_room_configure(chat);
485 return 1; 485 return 1;
486 } else if(!strcmp(msg, "/register")) {
487 jabber_chat_register(chat);
486 } 488 }
487 489
488 jm = g_new0(JabberMessage, 1); 490 jm = g_new0(JabberMessage, 1);
489 jm->js = gc->proto_data; 491 jm->js = gc->proto_data;
490 jm->type = JABBER_MESSAGE_GROUPCHAT; 492 jm->type = JABBER_MESSAGE_GROUPCHAT;