mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
Renamed room destroy function
This commit is contained in:
parent
84765969e0
commit
c014bb34b3
1
TODO_045
1
TODO_045
@ -1,4 +1,5 @@
|
|||||||
Review room config/admin commands and output
|
Review room config/admin commands and output
|
||||||
|
/room destroy should show message to owner, and to participants
|
||||||
Update /prefs
|
Update /prefs
|
||||||
Update inline help
|
Update inline help
|
||||||
Build with latest libstrophe
|
Build with latest libstrophe
|
||||||
|
@ -2383,7 +2383,7 @@ cmd_room(gchar **args, struct cmd_help_t help)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (g_strcmp0(args[0], "destroy") == 0) {
|
if (g_strcmp0(args[0], "destroy") == 0) {
|
||||||
iq_destroy_instant_room(room);
|
iq_destroy_room(room);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -234,7 +234,7 @@ _iq_confirm_instant_room(const char * const room_jid)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
_iq_destroy_instant_room(const char * const room_jid)
|
_iq_destroy_room(const char * const room_jid)
|
||||||
{
|
{
|
||||||
xmpp_conn_t * const conn = connection_get_conn();
|
xmpp_conn_t * const conn = connection_get_conn();
|
||||||
xmpp_ctx_t * const ctx = connection_get_ctx();
|
xmpp_ctx_t * const ctx = connection_get_ctx();
|
||||||
@ -1241,7 +1241,7 @@ iq_init_module(void)
|
|||||||
iq_send_software_version = _iq_send_software_version;
|
iq_send_software_version = _iq_send_software_version;
|
||||||
iq_set_autoping = _iq_set_autoping;
|
iq_set_autoping = _iq_set_autoping;
|
||||||
iq_confirm_instant_room = _iq_confirm_instant_room;
|
iq_confirm_instant_room = _iq_confirm_instant_room;
|
||||||
iq_destroy_instant_room = _iq_destroy_instant_room;
|
iq_destroy_room = _iq_destroy_room;
|
||||||
iq_send_ping = _iq_send_ping;
|
iq_send_ping = _iq_send_ping;
|
||||||
iq_request_room_config_form = _iq_request_room_config_form;
|
iq_request_room_config_form = _iq_request_room_config_form;
|
||||||
iq_room_config_cancel = _iq_room_config_cancel;
|
iq_room_config_cancel = _iq_room_config_cancel;
|
||||||
|
@ -185,7 +185,7 @@ void (*iq_disco_info_request)(gchar *jid);
|
|||||||
void (*iq_disco_items_request)(gchar *jid);
|
void (*iq_disco_items_request)(gchar *jid);
|
||||||
void (*iq_set_autoping)(int seconds);
|
void (*iq_set_autoping)(int seconds);
|
||||||
void (*iq_confirm_instant_room)(const char * const room_jid);
|
void (*iq_confirm_instant_room)(const char * const room_jid);
|
||||||
void (*iq_destroy_instant_room)(const char * const room_jid);
|
void (*iq_destroy_room)(const char * const room_jid);
|
||||||
void (*iq_request_room_config_form)(const char * const room_jid);
|
void (*iq_request_room_config_form)(const char * const room_jid);
|
||||||
void (*iq_submit_room_config)(const char * const room, DataForm *form);
|
void (*iq_submit_room_config)(const char * const room, DataForm *form);
|
||||||
void (*iq_room_config_cancel)(const char * const room_jid);
|
void (*iq_room_config_cancel)(const char * const room_jid);
|
||||||
|
Loading…
Reference in New Issue
Block a user