chat: set default user to self

master
Michael Santos 5 years ago
parent 1e59f50dc6
commit 501ada87ff

@ -285,11 +285,7 @@ main(int argc, char **argv)
state->mucjid = xmppipe_mucjid(state->out, state->resource);
}
else if (!(state->opt & XMPPIPE_OPT_GROUPCHAT)) {
char *from = strchr(jid, '@');
if (from == NULL)
usage(state);
from++;
state->out = xmppipe_conference(state->room, from);
state->out = xmppipe_strdup(jid);
}
if (xmppipe_fmt_init() < 0)

Loading…
Cancel
Save