diff --git a/README.org b/README.org index 200c7c1..5eb8fed 100644 --- a/README.org +++ b/README.org @@ -167,7 +167,7 @@ Please submit a pull request or create an issue to add a new or missing feature. -* Testemonials +* Testimonials "Weechat-Strophe - for the discerning dual IRCer XMPPer" -- [[github.com/janicez][Ellenor et al Bjornsdottir]] diff --git a/channel.c b/channel.c index 8577aae..1ad04f6 100644 --- a/channel.c +++ b/channel.c @@ -167,6 +167,8 @@ struct t_gui_buffer *channel__create_buffer(struct t_account *account, xmpp_jid_node(account->context, account_jid(account))); weechat_buffer_set(ptr_buffer, "name", name); + weechat_buffer_set(ptr_buffer, "notify", + (type == CHANNEL_TYPE_PM) ? "3" : "1"); weechat_buffer_set(ptr_buffer, "localvar_set_type", (type == CHANNEL_TYPE_PM) ? "private" : "channel"); weechat_buffer_set(ptr_buffer, "localvar_set_nick", diff --git a/connection.c b/connection.c index 16b5dbb..aa8c8ed 100644 --- a/connection.c +++ b/connection.c @@ -563,7 +563,7 @@ int connection__message_handler(xmpp_conn_t *conn, xmpp_stanza_t *stanza, void * && weechat_strcasecmp(from_bare, account_jid(account)) != 0) weechat_string_dyn_concat(dyn_tags, ",notify_private", -1); else - weechat_string_dyn_concat(dyn_tags, ",log1", -1); + weechat_string_dyn_concat(dyn_tags, ",notify_message,log1", -1); const char *edit = replace ? "* " : ""; // Losing which message was edited, sadly if (x && text == cleartext && channel->transport != CHANNEL_TRANSPORT_PGP)