> void send_message (const QString& ourAccount, const QString& account, const QString& protocol, const QString& message) { Are you calling `send_message` with the correct values for ourAccount and account? Maybe you’ve mixed those up.