mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Fixed #174
This commit is contained in:
parent
c4e279202b
commit
fce295d64a
@ -1974,6 +1974,9 @@ _cmd_msg(gchar **args, struct cmd_help_t help)
|
|||||||
|
|
||||||
} else {
|
} else {
|
||||||
char *usr_jid = roster_barejid_from_name(usr);
|
char *usr_jid = roster_barejid_from_name(usr);
|
||||||
|
if (usr_jid == NULL) {
|
||||||
|
usr_jid = usr;
|
||||||
|
}
|
||||||
if (msg != NULL) {
|
if (msg != NULL) {
|
||||||
message_send(msg, usr_jid);
|
message_send(msg, usr_jid);
|
||||||
ui_outgoing_msg("me", usr_jid, msg);
|
ui_outgoing_msg("me", usr_jid, msg);
|
||||||
|
Loading…
Reference in New Issue
Block a user