Better reply
This commit is contained in:
parent
60336c84b2
commit
138a335047
|
@ -1,6 +1,6 @@
|
||||||
cmake_minimum_required (VERSION 3.7)
|
cmake_minimum_required (VERSION 3.7)
|
||||||
project (expandurl-mastodon
|
project (expandurl-mastodon
|
||||||
VERSION 0.5.4
|
VERSION 0.5.5
|
||||||
LANGUAGES CXX
|
LANGUAGES CXX
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -95,7 +95,8 @@ int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
if (!listener.send_reply(notif.status(), message))
|
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
|
else
|
||||||
|
@ -114,7 +115,8 @@ int main(int argc, char *argv[])
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
listener.send_reply(notif.status(),
|
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();
|
new_messages.clear();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user