1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Merge branch 'master' into osx-functional

This commit is contained in:
James Booth 2016-03-26 17:12:56 +00:00
commit 5730ecef5f

View File

@ -102,7 +102,7 @@ cmd_execute_default(ProfWin *window, const char *inp)
}
// handle non commands in non chat or plugin windows
if (window->type != WIN_CHAT && window->type != WIN_MUC && window->type != WIN_PRIVATE && window->type != WIN_PLUGIN) {
if (window->type != WIN_CHAT && window->type != WIN_MUC && window->type != WIN_PRIVATE && window->type != WIN_PLUGIN && window->type != WIN_XML) {
cons_show("Unknown command: %s", inp);
return TRUE;
}
@ -142,6 +142,11 @@ cmd_execute_default(ProfWin *window, const char *inp)
cl_ev_send_muc_msg(mucwin, inp);
break;
}
case WIN_XML:
{
jabber_send_stanza(inp);
break;
}
default:
break;
}