summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordefanor <defanor@uberspace.net>2020-09-11 12:36:17 +0300
committerdefanor <defanor@uberspace.net>2020-09-11 12:36:17 +0300
commitc9b55c44dc4f31822cf9f3176f44ec283a63125b (patch)
treeee5c7729727efabe66e683f08b0a3fea16509f38
parent81769ec9599dc9bfea38690f501a31c486270b40 (diff)
Print own messages as originating from ">" in the weechat plugin
A full assigned JID is a bit too long, particularly for weechat.el.
-rw-r--r--examples/weechat.c2
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;
}