| 2620 /* Currently it sets the instance with leading spaces and |
2620 /* Currently it sets the instance with leading spaces and |
| 2621 * all. This might not be the best thing to do, though having |
2621 * all. This might not be the best thing to do, though having |
| 2622 * one word isn't ideal either. */ |
2622 * one word isn't ideal either. */ |
| 2623 |
2623 |
| 2624 PurpleConvChat *gcc = purple_conversation_get_chat_data(conv); |
2624 PurpleConvChat *gcc = purple_conversation_get_chat_data(conv); |
| 2625 int id = gcc->id; |
|
| 2626 const char* instance = args[0]; |
2625 const char* instance = args[0]; |
| 2627 zephyr_chat_set_topic(purple_conversation_get_gc(conv),id,instance); |
2626 zephyr_chat_set_topic(purple_conversation_get_gc(conv),purple_conv_chat_get_id(gcc),instance); |
| 2628 return PURPLE_CMD_RET_OK; |
2627 return PURPLE_CMD_RET_OK; |
| 2629 } |
2628 } |
| 2630 |
2629 |
| 2631 static PurpleCmdRet zephyr_purple_cmd_joinchat_cir(PurpleConversation *conv, |
2630 static PurpleCmdRet zephyr_purple_cmd_joinchat_cir(PurpleConversation *conv, |
| 2632 const char *cmd, char **args, char **error, void *data) |
2631 const char *cmd, char **args, char **error, void *data) |