From 138a33504781244a4e05a55e3c1c0c300cbea9d2 Mon Sep 17 00:00:00 2001 From: tastytea Date: Tue, 22 May 2018 12:05:55 +0200 Subject: [PATCH] Better reply --- CMakeLists.txt | 2 +- src/main.cpp | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index aed811c..7f8c295 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required (VERSION 3.7) project (expandurl-mastodon - VERSION 0.5.4 + VERSION 0.5.5 LANGUAGES CXX ) diff --git a/src/main.cpp b/src/main.cpp index 3bec558..4c0596c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -95,7 +95,8 @@ int main(int argc, char *argv[]) { if (!listener.send_reply(notif.status(), message)) { - cerr << "ERROR: could not send reply to " << id << '\n'; + cerr << "ERROR: could not send reply to " << id << + '\n'; } } else @@ -114,7 +115,8 @@ int main(int argc, char *argv[]) else { listener.send_reply(notif.status(), - "It seems that you didn't reply to a message?"); + "I couldn't find the message you replied to. 😞 \n" + "Maybe the federation is a bit wonky at the moment."); } } new_messages.clear();