diff options
author | defanor <defanor@uberspace.net> | 2020-09-11 12:36:17 +0300 |
---|---|---|
committer | defanor <defanor@uberspace.net> | 2020-09-11 12:36:17 +0300 |
commit | c9b55c44dc4f31822cf9f3176f44ec283a63125b (patch) | |
tree | ee5c7729727efabe66e683f08b0a3fea16509f38 /examples | |
parent | 81769ec9599dc9bfea38690f501a31c486270b40 (diff) |
Print own messages as originating from ">" in the weechat plugin
A full assigned JID is a bit too long, particularly for weechat.el.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/weechat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/weechat.c b/examples/weechat.c index 53ff151..dc6c957 100644 --- a/examples/weechat.c +++ b/examples/weechat.c @@ -106,7 +106,7 @@ int query_input_cb (const void *ptr, void *data, xmlNewProp(msg, "type", "chat"); xmlNewTextChild(msg, NULL, "body", input_data); rexmpp_send(s, msg); - weechat_printf_date_tags(buffer, 0, "self_msg", "%s\t%s\n", s->assigned_jid, input_data); + weechat_printf_date_tags(buffer, 0, "self_msg", "%s\t%s\n", ">", input_data); return WEECHAT_RC_OK; } |