Commit 6bd9b1ec authored by louiz’'s avatar louiz’

Remove unused function

parent 11dcae70
......@@ -16,17 +16,6 @@ using namespace std::string_literals;
static const char* action_prefix = "\01ACTION ";
static std::string out_encoding_for(const Bridge& bridge, const Iid& iid)
{
#ifdef USE_DATABASE
const auto jid = bridge.get_bare_jid();
auto options = Database::get_irc_channel_options_with_server_default(jid, iid.get_server(), iid.get_local());
return options.encodingOut.value();
#else
return {"ISO-8859-1"};
#endif
}
static std::string in_encoding_for(const Bridge& bridge, const Iid& iid)
{
#ifdef USE_DATABASE
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment