oh my fucking god

This commit is contained in:
Tony Olagbaiye 2021-07-05 22:59:54 +01:00
parent 24e1df64b0
commit 2190c0a075
No known key found for this signature in database
GPG Key ID: 9E2FF3BDEBDFC910

View File

@ -113,7 +113,8 @@ int connection__presence_handler(xmpp_conn_t *conn, xmpp_stanza_t *stanza, void
{
if (weechat_strcasecmp(role, "none") == 0)
channel__remove_member(account, channel, from);
channel__add_member(account, channel, from);
else
channel__add_member(account, channel, from);
}
return 1;