diff options
author | louiz’ <louiz@louiz.org> | 2017-12-03 16:28:38 +0100 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2017-12-03 16:46:14 +0100 |
commit | 24dc05dd979264143223e166faa032e75f986b21 (patch) | |
tree | 18b961acd175639b797be6ff7a9e59b62077af9c /src/xmpp | |
parent | 6dc49f32844b846bd9675ed6a9d669e266122276 (diff) | |
download | biboumi-24dc05dd979264143223e166faa032e75f986b21.tar.gz biboumi-24dc05dd979264143223e166faa032e75f986b21.tar.bz2 biboumi-24dc05dd979264143223e166faa032e75f986b21.tar.xz biboumi-24dc05dd979264143223e166faa032e75f986b21.zip |
Run some of the ci tests against a postgresql docker container
Diffstat (limited to 'src/xmpp')
-rw-r--r-- | src/xmpp/biboumi_component.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/xmpp/biboumi_component.cpp b/src/xmpp/biboumi_component.cpp index 0b2bba0..51ca78d 100644 --- a/src/xmpp/biboumi_component.cpp +++ b/src/xmpp/biboumi_component.cpp @@ -1080,6 +1080,9 @@ void BiboumiComponent::on_irc_client_connected(const std::string& irc_hostname, const auto local_jid = irc_hostname + "@" + this->served_hostname; if (Database::has_roster_item(local_jid, jid)) this->send_presence_to_contact(local_jid, jid, ""); +#else + (void)irc_hostname; + (void)jid; #endif } @@ -1089,6 +1092,9 @@ void BiboumiComponent::on_irc_client_disconnected(const std::string& irc_hostnam const auto local_jid = irc_hostname + "@" + this->served_hostname; if (Database::has_roster_item(local_jid, jid)) this->send_presence_to_contact(irc_hostname + "@" + this->served_hostname, jid, "unavailable"); +#else + (void)irc_hostname; + (void)jid; #endif } |